#!/bin/sh
[ "$(pulsemixer --get-mute)" = "1" ] && printf "M\\n" && exit
vol=$(pulsemixer --get-volume | awk '{print $1}')
printf "%s %%\\n" "$vol"