From 76313e15f6260327bbdf125c2f9c1cae04d0a598 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Wed, 13 Nov 2024 10:31:39 +0100 Subject: i3: add keyboard backlight control --- i3/i3/config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/i3/i3/config b/i3/i3/config index edabe63..5d12ce4 100644 --- a/i3/i3/config +++ b/i3/i3/config @@ -41,6 +41,12 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT bindsym XF86MonBrightnessUp exec light -A 5 # increase screen brightness bindsym XF86MonBrightnessDown exec light -U 5 # decrease screen brightness +# Keyboard led control +# TODO: toggle +bindsym XF86KbdLightOnOff exec light -s sysfs/leds/rgb:kbd_backlight -T 0 +bindsym XF86KbdBrightnessDown exec light -s sysfs/leds/rgb:kbd_backlight -U 5 +bindsym XF86KbdBrightnessUp exec light -s sysfs/leds/rgb:kbd_backlight -A 5 + # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod -- cgit v1.2.3