hypridle
This commit is contained in:
parent
2c0bbe1372
commit
d45bfe4575
1 changed files with 21 additions and 0 deletions
21
hypridle.conf
Normal file
21
hypridle.conf
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
general {
|
||||
lock_cmd = pidof hyprlock || hyprlock
|
||||
before_sleep_cmd = loginctl lock-session
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 180 # 3mins
|
||||
on-timeout = loginctl lock-session
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300 # 5mins
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 600 # 10mins
|
||||
on-timeout = systemctl suspend-then-hibernate || loginctl suspend
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue