add aoife
This commit is contained in:
parent
5e16312be4
commit
2106adca7b
27 changed files with 34 additions and 21 deletions
11
hosts/thalassa/null/home/eww/scripts/wifi.sh
Executable file
11
hosts/thalassa/null/home/eww/scripts/wifi.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
if wpa_cli status | rg -q "wpa_state=COMPLETED"; then
|
||||
icon="直"
|
||||
status="Connected"
|
||||
else
|
||||
icon="睊"
|
||||
status="offline"
|
||||
fi
|
||||
|
||||
printf "{\"icon\": \"${icon}\", \"status\": \"${status}\"}"
|
Loading…
Add table
Add a link
Reference in a new issue