Turn off keyboard backlighting when idle

Closes #3319
Co-authored-by: @pukljak
This commit is contained in:
David Heinemeier Hansson
2026-02-20 21:13:02 +01:00
parent bc05c1c849
commit 9b4140abc9
2 changed files with 8 additions and 0 deletions
+6
View File
@@ -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
+2
View File
@@ -0,0 +1,2 @@
echo "Turn off keyboard backlight when idle"
cp $OMARCHY_PATH/config/hypr/hypridle.conf ~/.config/hypr/hypridle.conf