New backup 2025-03-12 18:45:01
This commit is contained in:
parent
0a1d5f07c3
commit
45b0b41e50
1 changed files with 13 additions and 0 deletions
13
de/home/.config/eww/scripts/bar/networking
Executable file
13
de/home/.config/eww/scripts/bar/networking
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
function ifstatus(){
|
||||||
|
echo $1
|
||||||
|
echo $2
|
||||||
|
}
|
||||||
|
|
||||||
|
ip monitor address | {
|
||||||
|
while read -r event; do
|
||||||
|
# echo hi ${event};
|
||||||
|
ifstatus "${1}" "${event}"
|
||||||
|
done;
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue