New backup 2026-01-03 12:15:02
This commit is contained in:
parent
c54f34164d
commit
2e6fcad9d6
1 changed files with 14 additions and 0 deletions
14
de/home/.config/eww/scripts/bar/network-manager
Executable file
14
de/home/.config/eww/scripts/bar/network-manager
Executable file
|
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
|
function ifstatus(){
|
||||||
|
nmcli --terse -f NAME,TYPE,AUTOCONNECT,AUTOCONNECT-PRIORITY,ACTIVE,DEVICE,STATE connection show | column -t --table-columns name,type,autoconnect,priority,active,device,state -s ':' -J | jq -c '.'
|
||||||
|
}
|
||||||
|
|
||||||
|
ifstatus
|
||||||
|
|
||||||
|
ip monitor address | {
|
||||||
|
while read -r event; do
|
||||||
|
ifstatus
|
||||||
|
done;
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue