xmobar - open pavucontrol when clicking on volume

This commit is contained in:
Felix Van der Jeugt 2015-06-11 09:16:55 +02:00
parent f1a213a656
commit 1d8ef0986e

View File

@ -15,5 +15,5 @@ if grep -q "\[on\]" <(amixer get Master); then
fi
fi
echo "<icon=sound/$sound.xpm/>"
echo '<action=`pavucontrol`><icon=sound/'"$sound.xpm"'/></action>'