summaryrefslogtreecommitdiff
path: root/.config/waybar
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-02-18 11:15:35 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-02-18 11:15:35 +0100
commit2daa93b9985ecb8aba6531fdd93859a8dd451be3 (patch)
treef8e2dc4607e1f0c455e6fe252c8f40917303bf55 /.config/waybar
parent33aa89466214191dba6ac105a730b58757165342 (diff)
[iwctl+waybar] add "soft" and "hard" modes to wlan reconnect script
Diffstat (limited to '.config/waybar')
-rw-r--r--.config/waybar/config4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/waybar/config b/.config/waybar/config
index d5750b2..7fb3289 100644
--- a/.config/waybar/config
+++ b/.config/waybar/config
@@ -38,8 +38,8 @@
"format": "{ipaddr}",
"format-disconnected": "Offline",
"interval": 1,
- "on-click-right": "~/.local/bin/iwctl-re",
- "on-click-middle": "notify-send 'WLAN Reload' 'Restart iwd.service'; sudo systemctl restart iwd.service"
+ "on-click-right": "~/.local/bin/iwctl-re --mode=soft",
+ "on-click-middle": "~/.local/bin/iwctl-re --mode=hard"
},
"battery": {
"format": "E {capacity}%",