Kill waybar proper and restart on suspecion that SIGUSR2 is whats causing the stacking bug

This commit is contained in:
David Heinemeier Hansson
2025-07-16 21:13:36 -07:00
parent 4f565b743a
commit 9a2d8852d3
3 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,4 @@
echo "Fixing persistent workspaces in waybar config"
sed -i 's/"persistent_workspaces":/"persistent-workspaces":/' ~/.config/waybar/config
pkill -SIGUSR2 waybar
pkill waybar
setsid waybar >/dev/null 2>&1 &