added everythig
This commit is contained in:
24
hypridle/.config/hypr/hypridle.conf
Normal file
24
hypridle/.config/hypr/hypridle.conf
Normal file
@@ -0,0 +1,24 @@
|
||||
general {
|
||||
lock_cmd = pidof hyprlock || hyprlock
|
||||
before_sleep_cmd = loginctl lock-session
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
# locks screen after 5min
|
||||
listener {
|
||||
timeout = 300
|
||||
on-timeout = loginctl lock-session
|
||||
}
|
||||
|
||||
# turn of screen after 10min
|
||||
listener {
|
||||
timeout = 600
|
||||
on-timeout = hyptrctl dispatch dpms off
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
# turns of pc after 60min of non use
|
||||
listener {
|
||||
timeout = 3600
|
||||
on-timeout = systemctl suspend
|
||||
}
|
||||
Reference in New Issue
Block a user