Hypridle: Run change wallpaper/theme script after lock.

This commit is contained in:
Viyurz 2024-03-04 10:30:23 +01:00
parent 44fcdd5663
commit 8566306fcf
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8

View file

@ -1,12 +1,12 @@
general {
lock_cmd = hyprlock
before_sleep_cmd = hyprlock
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
on-timeout = hyprlock & $HOME/.scripts/set-wallpaper.sh -r
}
# Turn of screen after 6min