Original README.md example for mute toggle would always write 0 to $WOBSOCK, whether you mute or unmute because pamixer --get-mute either prints to stdout true or false. This pull request address this issue so that the example correctly reports the actual volume when unmuting.
Original
README.md
example for mute toggle would always write0
to$WOBSOCK
, whether you mute or unmute becausepamixer --get-mute
either prints to stdouttrue
orfalse
. This pull request address this issue so that the example correctly reports the actual volume when unmuting.