commit 16be967fb6f5e15cfd99344974667c106e51b53d
parent 4fbe3d3f12b550de81686a3c76c406b063655a5e
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Sat, 18 Jul 2020 01:52:21 -0700
Use sndioctl for volume related operations
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc
@@ -42,13 +42,13 @@ alt + shift {bracketright,bracketleft}
alt + backslash
notify-send $(mpc toggle | grep -o "\[.*\]")
-# volume controls (pulseaudio/ponymix)
+# control volume
alt + {apostrophe,semicolon}
- volume {--inc,--dec} 5
+ sndioctl output.level={+,-}0.05
-# mute mic and speakers
-alt + shift + {_,alt} + backslash
- volume {--mute,--mute-mic}
+# mute input and output volume
+alt + {shift,ctrl} + backslash
+ sndioctl {output,input}.mute=!
# brightness controls
shift + alt + {apostrophe,semicolon}