init
This commit is contained in:
24
hypr/hypridle.conf
Normal file
24
hypr/hypridle.conf
Normal file
@@ -0,0 +1,24 @@
|
||||
$lock_cmd = pidof hyprlock || hyprlock
|
||||
$suspend_cmd = systemctl suspend || loginctl suspend
|
||||
|
||||
general {
|
||||
lock_cmd = $lock_cmd
|
||||
before_sleep_cmd = $lock_cmd
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 600 # 10 min
|
||||
on-timeout = loginctl lock-session
|
||||
}
|
||||
|
||||
# listener {
|
||||
# timeout = 900 # 15 min
|
||||
# on-timeout = hyprctl dispatch dpms off
|
||||
# on-resume = hyprctl dispatch dpms on
|
||||
# }
|
||||
|
||||
# listener {
|
||||
# timeout = 1800 # 30 min
|
||||
# on-timeout = $suspend_cmd
|
||||
# }
|
||||
Reference in New Issue
Block a user