Update hypridle.conf

This commit is contained in:
Viyurz 2024-03-14 09:24:23 +01:00
parent 8b11017e75
commit 8996b896c8
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8

View file

@ -1,12 +1,13 @@
general {
lock_cmd = hyprlock & $HOME/.scripts/theme-changer.sh album sfw
before_sleep_cmd = hyprlock & $HOME/.scripts/theme-changer.sh album sfw
lock_cmd = pgrep -u "$USER" hyprlock || (hyprlock & sleep 0.5 && $HOME/.scripts/theme-changer.sh album sfw)
before_sleep_cmd = loginctl lock-session
after_sleep_cmd = hyprctl dispatch dpms on
}
# Lock after 5min
listener {
timeout = 300
on-timeout = hyprlock & $HOME/.scripts/theme-changer.sh album sfw
on-timeout = loginctl lock-session
}
# Turn of screen after 6min