eww: bar connectivity widget now launches iwgtk on click

This commit is contained in:
GaspardCulis 2024-01-25 14:49:29 +01:00
parent 2b73f01ecb
commit a18ab6e3a7

View file

@ -34,10 +34,13 @@
)
(defwidget connectivity []
(eventbox
:onclick "bash -c 'iwgtk &> /dev/null &'"
(label
:class "connectivity"
:text " ${connectivity.status == "down" ? "down" : connectivity.ssid}")
)
)
(defwidget bluetooth []
(eventbox
@ -143,6 +146,7 @@
:space-evenly false
(container
(time)
(label :text "") ; Else container spacing rule doesn't apply
(connectivity)
(label :text "") ; Else container spacing rule doesn't apply
(bluetooth)