initialitation
This commit is contained in:
25
.config/hypr/hypridle.conf
Normal file
25
.config/hypr/hypridle.conf
Normal file
@@ -0,0 +1,25 @@
|
||||
general {
|
||||
lock_cmd = pidof hyprlock || hyprlock
|
||||
before_sleep_cmd = loginctl lock-session # lock before suspend
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
# Lock the screen
|
||||
listener {
|
||||
timeout = 300
|
||||
on-timeout = loginctl lock-session
|
||||
}
|
||||
|
||||
# Turn off screen
|
||||
#listener {
|
||||
# timeout = 420
|
||||
# on-timeout = hyprctl dispatch dpms off
|
||||
# on-resume = hyprctl dispatch dpms on
|
||||
#}
|
||||
|
||||
# Suspend the system
|
||||
listener {
|
||||
timeout = 600
|
||||
on-timeout = systemctl suspend
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user