mirror of
https://github.com/basecamp/omarchy.git
synced 2025-08-03 23:29:23 +00:00
Prevent Waybar stacking on resume (#448)
* Create omarchy-cmd-restart-waybar * Replace -SIGUSR2 waybar instances * Add migration * Add or statment in case waybar is dead * Just use omarchy-restart-waybar --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
@ -2,7 +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 -SIGUSR2 waybar # prevent stacking of waybar when waking
|
||||
on_unlock_cmd = omarchy-restart-waybar # prevent stacking of waybar when waking
|
||||
}
|
||||
|
||||
listener {
|
||||
|
Reference in New Issue
Block a user