diff options
author | Yuchen Pei <id@ypei.org> | 2024-11-17 18:53:08 +1100 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2024-11-17 18:53:08 +1100 |
commit | 9a2eab1a78042463febd8a6eb73262cb03199d81 (patch) | |
tree | d1f1a44cdfe85cdac45a5b3c88274611b2ffaf88 /misc/.config/i3/config | |
parent | 30b99cce544b66d5036f74607b0d720ec15e3edc (diff) |
[i3][xdg] Some minor changes
Diffstat (limited to 'misc/.config/i3/config')
-rw-r--r-- | misc/.config/i3/config | 3 |
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 |