fix til lock screen

This commit is contained in:
2025-06-24 19:30:07 +02:00
parent 353d8276aa
commit 006daa570b

View File

@@ -8,7 +8,8 @@ exec-once = waybar &
exec-once = hyprpaper &
exec-once = /usr/lib/polkit-kde-authentication-agent-1 &
exec-once = swayidle -w \
timeout 300 'hyprctl dispatch dpms off' \
timeout 300 '/home/{{ username }}/.local/bin/lock-screen.sh' \
timeout 330 'hyprctl dispatch dpms off' \
resume 'hyprctl dispatch dpms on' \
timeout 600 'systemctl suspend' \
before-sleep '/home/{{ username }}/.local/bin/lock-screen.sh'