forked from Shinonome/dots-hyprland
idle: turn off screen before sleeping a bit
This commit is contained in:
@@ -3,19 +3,21 @@ $suspend_cmd = systemctl suspend
|
||||
|
||||
general {
|
||||
lock_cmd = $lock_cmd
|
||||
# unlock_cmd
|
||||
before_sleep_cmd = $lock_cmd
|
||||
# after_sleep_cmd
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300
|
||||
timeout = 180 # 3mins
|
||||
on-timeout = $lock_cmd
|
||||
# on-resume
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 450
|
||||
on-timeout = $suspend_cmd
|
||||
# on-resume
|
||||
timeout = 240 # 4mins
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 540 # 9mins
|
||||
on-timeout = $suspend_cmd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user