diff --git a/i3/i3blocks/blocks/volume b/i3/i3blocks/blocks/volume index 6e0c4fe..d320416 100755 --- a/i3/i3blocks/blocks/volume +++ b/i3/i3blocks/blocks/volume @@ -1,6 +1,7 @@ #!/usr/bin/env bash # Copyright (C) 2014 Julien Bonjean # Copyright (C) 2014 Alexander Keller +# Copyright (C) 2019 Przemysław Grondek # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -75,6 +76,7 @@ format() { #------------------------------------------------------------------------ case $BLOCK_BUTTON in + 1) pavucontrol ;; # Launch audio control 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 5) amixer -q -D $MIXER sset $SCONTROL $(capability) ${STEP}- unmute ;; # scroll down, decrease