Turn off keyboard backlighting when idle
Closes #3319 Co-authored-by: @pukljak
This commit is contained in:
1 parent
bc05c1c849
commit
9b4140abc9
2 files changed
+8
No files matched your search
@@ -15,6 +15,12 @@ listener {
|
||||
on-timeout = loginctl lock-session # lock screen when timeout has passed
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 330 # 5.5min
|
||||
on-timeout = brightnessctl -sd '*::kbd_backlight' set 0 # save state and turn off keyboard backlight
|
||||
on-resume = brightnessctl -rd '*::kbd_backlight' # restore keyboard backlight
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 330 # 5.5min
|
||||
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
||||
|
||||
Reference in new issue
Block a user