mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
hypr/hypridle.conf: skip suspend
This commit is contained in:
parent
059282b88c
commit
a7ac339c7a
1 changed files with 6 additions and 6 deletions
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
general {
|
||||
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
|
||||
before_sleep_cmd = loginctl lock-session # lock before suspend.
|
||||
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
|
||||
# before_sleep_cmd = loginctl lock-session # lock before suspend.
|
||||
# after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
|
||||
}
|
||||
|
||||
# Turn screen off after 5 min
|
||||
|
|
@ -20,7 +20,7 @@ listener {
|
|||
|
||||
|
||||
# Suspend after 30 min
|
||||
listener {
|
||||
timeout = 1800
|
||||
on-timeout = systemctl suspend
|
||||
}
|
||||
# listener {
|
||||
# timeout = 1800
|
||||
# on-timeout = systemctl suspend
|
||||
# }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue