summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i3/i3/config6
1 files changed, 6 insertions, 0 deletions
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