summary refs log tree commit diff
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
commitdb6331d9232a80318351bf0abecf5c43e57abdc8 (patch)
tree06ec2a40601921b9cae09e9bc6e458b4d765b09b
parentUse w3m to open other URLs (diff)
downloadsrc-db6331d9232a80318351bf0abecf5c43e57abdc8.tar.gz
src-db6331d9232a80318351bf0abecf5c43e57abdc8.zip
Add volume control bindings to cwm
sndioctl is nice and easy.
-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