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,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)
|
||||
|
|
Loading…
Reference in a new issue