1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Middle click 'volume' to cycle output devices

This commit is contained in:
Joe Groocock 2016-04-18 19:10:47 +01:00
parent b74bebac62
commit 76243f0059

View File

@ -63,6 +63,7 @@ format() {
case $BLOCK_BUTTON in case $BLOCK_BUTTON in
1) pavucontrol ;; 1) pavucontrol ;;
2) ~/.config/i3/cycleaudio.py;;
3) amixer -q -D $MIXER sset $SCONTROL $(capability) toggle ;; # right click, mute/unmute 3) amixer -q -D $MIXER sset $SCONTROL $(capability) toggle ;; # right click, mute/unmute
4) amixer -q -D $MIXER sset $SCONTROL $(capability) ${STEP}+ unmute ;; # scroll up, increase 4) amixer -q -D $MIXER sset $SCONTROL $(capability) ${STEP}+ unmute ;; # scroll up, increase
5) amixer -q -D $MIXER sset $SCONTROL $(capability) ${STEP}- unmute ;; # scroll down, decrease 5) amixer -q -D $MIXER sset $SCONTROL $(capability) ${STEP}- unmute ;; # scroll down, decrease