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:
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
pkill -x waybar
|
||||
while pgrep -x waybar >/dev/null; do sleep 0.05; done
|
||||
setsid -f waybar </dev/null >/dev/null 2>&1
|
||||
Reference in New Issue
Block a user