aboutsummaryrefslogtreecommitdiff
path: root/misc/.config/i3/config
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2024-11-17 18:53:08 +1100
committerYuchen Pei <id@ypei.org>2024-11-17 18:53:08 +1100
commit9a2eab1a78042463febd8a6eb73262cb03199d81 (patch)
treed1f1a44cdfe85cdac45a5b3c88274611b2ffaf88 /misc/.config/i3/config
parent30b99cce544b66d5036f74607b0d720ec15e3edc (diff)
[i3][xdg] Some minor changes
Diffstat (limited to 'misc/.config/i3/config')
-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