working on eww
This commit is contained in:
1 parent
0920d68637
commit
1a10c80bd7
2 files changed
+1
-1
No files matched your search
@@ -61,7 +61,7 @@
|
|||||||
;; Update network status
|
;; Update network status
|
||||||
(setq network-essid (exec "nmcli -t -f TYPE,NAME dev status | awk -F: '/wifi/{print $2}' | xargs -I {} sh -c 'nmcli -t -f SIGNAL dev wifi list ifname {} | awk -F: \"NR==2{print \\$1}\"'"))
|
(setq network-essid (exec "nmcli -t -f TYPE,NAME dev status | awk -F: '/wifi/{print $2}' | xargs -I {} sh -c 'nmcli -t -f SIGNAL dev wifi list ifname {} | awk -F: \"NR==2{print \\$1}\"'"))
|
||||||
(if (string-empty? network-essid)
|
(if (string-empty? network-essid)
|
||||||
(eww update network_label="Disconnected ⚠")
|
(eww update network_label="Disconnected !")
|
||||||
(eww update network_label=(strfmt " ({}%)" network-essid)))
|
(eww update network_label=(strfmt " ({}%)" network-essid)))
|
||||||
|
|
||||||
;; Update clock
|
;; Update clock
|
||||||
|
|||||||
File renamed without changes.
Reference in new issue
Block a user