Initial commit
This commit is contained in:
30
hypr/hypridle.conf
Normal file
30
hypr/hypridle.conf
Normal file
@ -0,0 +1,30 @@
|
||||
$lock_cmd = pidof hyprlock || hyprlock
|
||||
$suspend_cmd = pidof steam || systemctl suspend || loginctl suspend
|
||||
|
||||
general {
|
||||
lock_cmd = $lock_cmd
|
||||
before_sleep_cmd = loginctl lock-session
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 180
|
||||
on-timeout = loginctl lock-session
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 240
|
||||
on-timeout = light -U 30
|
||||
on-resume = light -A 30
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 320
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 540
|
||||
on-timeout = $suspend_cmd
|
||||
}
|
Reference in New Issue
Block a user