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
@@ -59,6 +59,7 @@ ln -sf "$(pwd)/scripts/clipboard.sh" ~/.local/bin/clipboard-picker
ln -sf "$(pwd)/scripts/power-profile.sh" ~/.local/bin/power-profile
ln -sf "$(pwd)/scripts/fan-profile.sh" ~/.local/bin/fan-profile
ln -sf "$(pwd)/scripts/screenshot.sh" ~/.local/bin/screenshot
ln -sf "$(pwd)/scripts/waybar-restart.sh" ~/.local/bin/waybar-restart
echo "==> Enabling systemd user services"
mkdir -p ~/.config/systemd/user