add waybar-restart script and Mod+Shift+B keybind

scripts/waybar-restart.sh: kills waybar, waits for it to exit, then
relaunches detached via setsid. Symlinked into ~/.local/bin and bound
to Mod+Shift+B in niri.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
funman300
2026-04-30 21:59:33 -07:00
parent 1305b1cda1
commit 2c851c7561
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -52,6 +52,7 @@ binds {
Mod+Return { spawn "alacritty"; }
Mod+D { spawn "wofi" "--show" "drun"; }
Mod+E { spawn "thunar"; }
Mod+Shift+B { spawn "waybar-restart"; }
Mod+H { focus-column-left; }
Mod+L { focus-column-right; }