diff --git a/templates/hyprland.conf.j2 b/templates/hyprland.conf.j2 index fa006bd..5e8c702 100644 --- a/templates/hyprland.conf.j2 +++ b/templates/hyprland.conf.j2 @@ -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'