Temporary fix for waybar stacking on waking from sleep

Sledge hammer fix by restarting the waybar, but it'll do the job until
we find a better fix for #196
This commit is contained in:
David Heinemeier Hansson
2025-07-20 20:14:57 -05:00
parent af72a45dbd
commit b967223d3c
2 changed files with 7 additions and 0 deletions

View File

@ -2,6 +2,7 @@ general {
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
before_sleep_cmd = loginctl lock-session # lock before suspend.
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
on_unlock_cmd = pkill waybar && uwsm app -- waybar # FIXME: Temp fix to address stacking waybars
}
listener {