Switch to eww for status bar
This commit is contained in:
parent
f4c7c3e1e2
commit
106a9f4b38
15 changed files with 704 additions and 10 deletions
8
home-manager/wayland/eww/scripts/network
Executable file
8
home-manager/wayland/eww/scripts/network
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
nmcli -t c show --active | awk -F ':' -e \
|
||||
'// { if ($3 == "'$1'") {
|
||||
print "{\"name\":\""$1"\",\"device\":\""$4"\"}";
|
||||
found = 1;
|
||||
exit;
|
||||
}}
|
||||
END { if (!found) print "{}" }'
|
||||
Loading…
Add table
Add a link
Reference in a new issue