aboutsummaryrefslogtreecommitdiff
path: root/misc/.config/i3
diff options
context:
space:
mode:
Diffstat (limited to 'misc/.config/i3')
-rw-r--r--misc/.config/i3/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/.config/i3/config b/misc/.config/i3/config
index a62551d..31b74ad 100644
--- a/misc/.config/i3/config
+++ b/misc/.config/i3/config
@@ -175,6 +175,9 @@ bindsym $mod+Up exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%
bindsym $mod+Down exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%
# Sreen brightness controls
+# may need to add rule for users in video group to do without sudo:
+# /etc/udev/rules.d/backlight.rules:
+# ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chgrp video $sys$devpath/brightness", RUN+="/bin/chmod g+w $sys$devpath/brightness"
bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness