added hypr idle/lock
This commit is contained in:
parent
bf59c1a190
commit
15f0855916
4 changed files with 73 additions and 2 deletions
17
hypr/hypridle.conf
Normal file
17
hypr/hypridle.conf
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
listener {
|
||||
timeout = 300 # 5min
|
||||
on-timeout = hyprlock # lock screen when timeout has passed
|
||||
#on-resume = notify-send "Welcome back!" # notification activity is detected after timeout has fired.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 330 # 5.5min
|
||||
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
||||
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 1800 # 30min
|
||||
on-timeout = systemctl suspend # suspend pc
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue