5 files changed
+154
-4
No files matched your search
@@ -10,6 +10,7 @@
|
||||
(box :orientation "h" :space-evenly false :valign "center" :class "sys-section-header"
|
||||
(box :class "section-accent ${accent}")
|
||||
(label :class "sys-label" :text title :hexpand true :halign "start")
|
||||
(children)
|
||||
(button
|
||||
:class "net-toggle-btn ${enabled ? 'net-toggle-on' : 'net-toggle-off'}"
|
||||
:onclick onclick
|
||||
@@ -23,7 +24,13 @@
|
||||
:title "WiFi" :accent "wifi-accent"
|
||||
:enabled {net.wifi.enabled}
|
||||
:onclick {net.wifi.enabled ? "rfkill block wlan" : "rfkill unblock wlan"}
|
||||
:icon-on "" :icon-off "")
|
||||
:icon-on "" :icon-off ""
|
||||
(button
|
||||
:class "net-toggle-btn net-toggle-on net-add-btn"
|
||||
:visible {net.wifi.enabled}
|
||||
:onclick "scripts/net/wifi-connect"
|
||||
:tooltip "Connect to a network"
|
||||
(label :text "")))
|
||||
(box :orientation "v" :space-evenly false
|
||||
:visible {net.wifi.connected}
|
||||
(netinfo-row :label "SSID" :value {net.wifi.ssid})
|
||||
|
||||
Reference in new issue
Block a user