Locking
This commit is contained in:
@@ -6,7 +6,7 @@ general {
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 600 # 10 minutes
|
||||
timeout = 300 # 5 minutes
|
||||
on-timeout = notify-send "You are idle and will be locked soon!" # command to run when timeout has passed.
|
||||
on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired.
|
||||
}
|
||||
@@ -17,12 +17,12 @@ listener {
|
||||
# }
|
||||
|
||||
listener {
|
||||
timeout = 630 # 10.5min
|
||||
timeout = 330 # 5.5min
|
||||
on-timeout = hyprctl dispatch 'hl.dsp.dpms({ action = "disable" })' # screen off when timeout has passed
|
||||
on-resume = hyprctl dispatch 'hl.dsp.dpms({ action = "enable" })' && brightnessctl -r # screen on when activity is detected after timeout has fired.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 1800 # 30min
|
||||
timeout = 600 # 1min
|
||||
on-timeout = systemctl suspend # suspend pc
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user