eww: bar connectivity widget now launches iwgtk on click
This commit is contained in:
parent
2b73f01ecb
commit
a18ab6e3a7
1 changed files with 7 additions and 3 deletions
|
@ -34,9 +34,12 @@
|
||||||
)
|
)
|
||||||
|
|
||||||
(defwidget connectivity []
|
(defwidget connectivity []
|
||||||
(label
|
(eventbox
|
||||||
:class "connectivity"
|
:onclick "bash -c 'iwgtk &> /dev/null &'"
|
||||||
:text " ${connectivity.status == "down" ? "down" : connectivity.ssid}")
|
(label
|
||||||
|
:class "connectivity"
|
||||||
|
:text " ${connectivity.status == "down" ? "down" : connectivity.ssid}")
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
(defwidget bluetooth []
|
(defwidget bluetooth []
|
||||||
|
@ -143,6 +146,7 @@
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
(container
|
(container
|
||||||
(time)
|
(time)
|
||||||
|
(label :text "") ; Else container spacing rule doesn't apply
|
||||||
(connectivity)
|
(connectivity)
|
||||||
(label :text "") ; Else container spacing rule doesn't apply
|
(label :text "") ; Else container spacing rule doesn't apply
|
||||||
(bluetooth)
|
(bluetooth)
|
||||||
|
|
Loading…
Reference in a new issue