summary refs log tree commit diff
path: root/home/.config/cwm/cwmrc
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-02-09 19:24:06 -0500
committerJune McEnroe <june@causal.agency>2021-02-09 19:24:06 -0500
commit0a234c4c216a17ce454f4a1b49414ede24cc9acc (patch)
tree318a80765cf717edc5778dfa9e2f36195a1bc8ba /home/.config/cwm/cwmrc
parentUse w3m to open other URLs (diff)
downloadsrc-0a234c4c216a17ce454f4a1b49414ede24cc9acc.tar.gz
src-0a234c4c216a17ce454f4a1b49414ede24cc9acc.zip
Add volume control bindings to cwm
sndioctl is nice and easy.
Diffstat (limited to 'home/.config/cwm/cwmrc')
-rw-r--r--home/.config/cwm/cwmrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/home/.config/cwm/cwmrc b/home/.config/cwm/cwmrc
index 4dbee57e..86b673e0 100644
--- a/home/.config/cwm/cwmrc
+++ b/home/.config/cwm/cwmrc
@@ -60,6 +60,9 @@ bind-key 4S-q quit
 
 bind-key F1 "xbacklight -steps 1 -5"
 bind-key F2 "xbacklight -steps 1 +5"
+bind-key F10 "sndioctl output.mute=!"
+bind-key F11 "sndioctl output.level=-0.05"
+bind-key F12 "sndioctl output.level=+0.05"
 
 unbind-mouse all
 bind-mouse 4-1 window-move