diff options
Diffstat (limited to '.config/quickshell/Wifi.qml')
| -rw-r--r-- | .config/quickshell/Wifi.qml | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/.config/quickshell/Wifi.qml b/.config/quickshell/Wifi.qml deleted file mode 100644 index 76ff2b5..0000000 --- a/.config/quickshell/Wifi.qml +++ /dev/null @@ -1,26 +0,0 @@ -pragma Singleton - -import Quickshell -import Quickshell.Io -import QtQuick - -Singleton { - id: root - property string ssid - - Process { - id: netProc - command: ["sh", "-c", "iwctl station wlan0 get-networks | awk -F' ' '/>/ {print $3}'"] - running: true - stdout: StdioCollector { - onStreamFinished: root.ssid = this.text.trim() - } - } - - Timer { - interval: 5000 - running: true - repeat: true - onTriggered: netProc.running = true - } -} |
