4 status=$(amixer get Master | tail -n1 | awk '{print $NF}')
5 status=$(echo "${status%]}")
6 status=$(echo "${status#[}")
8 then notify-send -i /usr/share/icons/powermate/volume-on.png " "
9 elif [ $status == "off" ]
10 then notify-send -i /usr/share/icons/powermate/volume-mute.png " "
12 amixer set Master toggle