aboutsummaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-09-15 15:42:19 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-09-15 15:42:19 +1200
commit9698f4cd9f205ff45f7a995d86212287b7328ca6 (patch)
tree4fb04d0c6a35d8241d69be27345f311ae1f2d2d3 /i3
parentd582c7a818cabc4a1df2294a0b898f927e662086 (diff)
downloaddotfiles-9698f4cd9f205ff45f7a995d86212287b7328ca6.tar.gz
Bind keys for controlling volume
Diffstat (limited to 'i3')
-rw-r--r--i3/config5
1 files changed, 5 insertions, 0 deletions
diff --git a/i3/config b/i3/config
index 465279a1..a5eddf39 100644
--- a/i3/config
+++ b/i3/config
@@ -97,6 +97,11 @@ bindsym Print exec sh -c 'mkdir -p "$HOME"/Screenshots && import "$HOME"/Screens
# Shift-PrintScren selects and takes a screenshot of a section of the screen
bindsym --release Shift+Print exec sh -c 'mkdir -p "$HOME"/Screenshots && import "$HOME"/Screenshots/snap-"$(date +%Y%m%d%H%M%S)".png'
+# Special modifier keys change volume
+bindsym XF86AudioRaiseVolume exec amixer -q sset Master 5%+ unmute
+bindsym XF86AudioLowerVolume exec amixer -q sset Master 5%- unmute
+bindsym XF86AudioMute exec amixer -q sset Master toggle
+
# i3bar at bottom of screen
bar {
font pango:Verdana 7