mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 04:09:23 +00:00
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:
6
bin/omarchy-refresh-hypridle
Executable file
6
bin/omarchy-refresh-hypridle
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Overwrite local Hypridle settings with the latest in Omarchy, but create a backup
|
||||||
|
cp -f ~/.config/hypr/hypridle.conf ~/.config/hypr/hypridle.conf.bak 2>/dev/null
|
||||||
|
cp -f ~/.local/share/omarchy/config/hypr/hypridle.conf ~/.config/hypr/ 2>/dev/null
|
||||||
|
pkill -x hypridle && uwsm app -- hypridle >/dev/null 2>&1 &
|
@ -2,6 +2,7 @@ general {
|
|||||||
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
|
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
|
||||||
before_sleep_cmd = loginctl lock-session # lock before suspend.
|
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.
|
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 {
|
listener {
|
||||||
|
Reference in New Issue
Block a user