turn off keyboard and screen when idle for 2.5 min
This commit is contained in:
parent
627a799932
commit
16cf645448
@ -6,15 +6,15 @@ general {
|
||||
|
||||
listener {
|
||||
timeout = 150 # 2.5min.
|
||||
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
||||
on-timeout = brightnessctl -s set 0 # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
||||
on-resume = brightnessctl -r # monitor backlight restore.
|
||||
}
|
||||
|
||||
# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
|
||||
listener {
|
||||
timeout = 150 # 2.5min.
|
||||
on-timeout = brightnessctl -sd rgb:kbd_backlight set 0 # turn off keyboard backlight.
|
||||
on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight.
|
||||
on-timeout = brightnessctl -sd chromeos::kbd_backlight set 0 # turn off keyboard backlight.
|
||||
on-resume = brightnessctl -rd chromeos::kbd_backlight # turn on keyboard backlight.
|
||||
}
|
||||
|
||||
#listener {
|
||||
@ -22,11 +22,11 @@ listener {
|
||||
# on-timeout = loginctl lock-session # lock screen when timeout has passed
|
||||
#}
|
||||
|
||||
listener {
|
||||
timeout = 330 # 5.5min
|
||||
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
||||
on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when 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 && brightnessctl -r # screen on when activity is detected after timeout has fired.
|
||||
#}
|
||||
|
||||
#listener {
|
||||
# timeout = 1800 # 30min
|
||||
|
@ -52,7 +52,6 @@ exec-once = waybar
|
||||
exec-once = hyprpaper & hypridle & $lockscreen
|
||||
exec-once = dunst
|
||||
exec-once = [workspace 1 silent] $browser
|
||||
exec-once = [workspace 2 silent] $terminal
|
||||
exec-once = [workspace 5 silent] $music
|
||||
|
||||
##############################
|
||||
|
Loading…
x
Reference in New Issue
Block a user