general { lock_cmd = hyprlock & $HOME/.scripts/set-wallpaper.sh -r before_sleep_cmd = hyprlock & $HOME/.scripts/set-wallpaper.sh -r } # Lock after 5min listener { timeout = 300 on-timeout = hyprlock & $HOME/.scripts/set-wallpaper.sh -r } # Turn of screen after 6min listener { timeout = 360 on-timeout = hyprctl dispatch dpms off on-resume = hyprctl dispatch dpms on }