summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jonas <himself@jonasgunz.de> 2019-04-28 18:27:00 +0200
committerGravatar jonas <himself@jonasgunz.de> 2019-04-28 18:27:00 +0200
commitd4e2d46aa0d7186b587f4e2209143d013d3eb82c (patch)
tree419dd2cf6904d05c7ba06d1c7df84fd44b74e338
parent3372458f31ccaa65efb0f867a3e78b8bd1d8dad5 (diff)
downloaddotfiles-d4e2d46aa0d7186b587f4e2209143d013d3eb82c.tar.gz
Brightness control
-rw-r--r--.i3/config9
1 files changed, 9 insertions, 0 deletions
diff --git a/.i3/config b/.i3/config
index 1a58f06..c102ecb 100644
--- a/.i3/config
+++ b/.i3/config
@@ -196,3 +196,12 @@ exec --no-startup-id nm-applet
bar {
status_command i3status
}
+
+# Pulse Audio controls
+bindsym XF86AudioRaiseVolume exec --no-startup-id pactl -- set-sink-volume 0 +5% #increase sound volume
+bindsym XF86AudioLowerVolume exec --no-startup-id pactl -- set-sink-volume 0 -5% #decrease sound volume
+bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
+
+# Sreen brightness controls
+bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
+bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness