Correctly configure sleep and hibernation

This commit is contained in:
Oliver Traber 2025-08-06 10:40:02 +02:00
parent cfd2b9be69
commit 142ccb8815
Signed by: Bluemedia
GPG key ID: C0674B105057136C
4 changed files with 22 additions and 1 deletions

View file

@ -14,7 +14,8 @@ idle() {
swayidle -w \
timeout 180 '~/.local/bin/hyprhelpr lock' \
timeout 240 'hyprctl dispatch dpms off' \
resume 'hyprctl dispatch dpms on'
resume 'hyprctl dispatch dpms on' \
before-sleep '~/.local/bin/hyprhelpr lock'
}
lock() {