From da1de8c64955f2ca5bb4891764e4b183f4250566 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:33 +0100 Subject: feat(waybar,sway): htop click handler, app keybinds, VPN toggle waybar: - cpu / custom/memory: on-click opens floating ghostty with htop - new custom/vpn module between custom/memory and network#bond: shows 'VPN' coloured by interface UP flag (green up, dim down); on-click toggles networkctl up/down hodor; SIGRTMIN+8 used for instant refresh after toggle sway: - Super+Shift+Return -> ghostty -e yazi - Super+Shift+b -> librewolf vpn-toggle.sh runs networkctl (no sudo) thanks to a new polkit rule allowing wheel-group members to invoke org.freedesktop.network1.* without a password prompt. systemd-networkd's polkit gate is a separate path from sudoers, so this is the idiomatic fix. KEYBINDS.md updated for both new sway bindings. --- KEYBINDS.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'KEYBINDS.md') diff --git a/KEYBINDS.md b/KEYBINDS.md index 5e42365..f9460bf 100644 --- a/KEYBINDS.md +++ b/KEYBINDS.md @@ -322,6 +322,8 @@ Mod key: `Super` (Mod4). Only personal additions beyond sway defaults listed. | `XF86Sleep` | Suspend system (systemctl suspend) | | `XF86WLAN` | Toggle Wi-Fi (rfkill) | | `XF86RFKill` | Toggle all radios (rfkill) | +| `Super+Shift+Return` | Open ghostty with yazi (file manager) | +| `Super+Shift+b` | Launch librewolf | | `Print` | Region screenshot (grim+slurp) | | `Shift+Print` | Full screenshot (grim) | | `Super+i` | Dictate toggle (whisper.cpp → wtype + clipboard) | -- cgit v1.3.1