1 2 3
#!/bin/sh [ $(pamixer --get-mute) = true ] && echo "\004MUTE\001" && exit 1 echo " $(pamixer --get-volume)%"