mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Compare commits
2 Commits
a4e7f41798
...
d2fffc40ea
Author | SHA1 | Date | |
---|---|---|---|
d2fffc40ea | |||
8884cc7a5c |
@ -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 -SIGUSR2 waybar # prevent stacking of waybar when waking
|
||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
|
8
migrations/1753302134.sh
Normal file
8
migrations/1753302134.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
echo "Reload Waybar on unlock to prevent stacking"
|
||||||
|
|
||||||
|
if ! grep -q 'on_unlock_cmd *= *pkill -SIGUSR2 waybar' ~/.config/hypr/hypridle.conf; then
|
||||||
|
sed -i '/^general[[:space:]]*{/,/^}/ {
|
||||||
|
/on_unlock_cmd *=/d
|
||||||
|
/^}$/ i\ on_unlock_cmd = pkill -SIGUSR2 waybar # prevent stacking of waybar when waking
|
||||||
|
}' ~/.config/hypr/hypridle.conf
|
||||||
|
fi
|
Reference in New Issue
Block a user