Update hypridle.conf
This commit is contained in:
parent
8b11017e75
commit
8996b896c8
1 changed files with 4 additions and 3 deletions
|
@ -1,12 +1,13 @@
|
|||
general {
|
||||
lock_cmd = hyprlock & $HOME/.scripts/theme-changer.sh album sfw
|
||||
before_sleep_cmd = hyprlock & $HOME/.scripts/theme-changer.sh album sfw
|
||||
lock_cmd = pgrep -u "$USER" hyprlock || (hyprlock & sleep 0.5 && $HOME/.scripts/theme-changer.sh album sfw)
|
||||
before_sleep_cmd = loginctl lock-session
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
# Lock after 5min
|
||||
listener {
|
||||
timeout = 300
|
||||
on-timeout = hyprlock & $HOME/.scripts/theme-changer.sh album sfw
|
||||
on-timeout = loginctl lock-session
|
||||
}
|
||||
|
||||
# Turn of screen after 6min
|
||||
|
|
Loading…
Reference in a new issue