francma / wob

A lightweight overlay volume/backlight/progress/anything bar for Wayland.
ISC License
911 stars 50 forks source link

Fix sway example for mute toggle in `README.md` #100

Closed jasyip closed 2 years ago

jasyip commented 2 years ago

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.

francma commented 2 years ago

Please reword the commit message to just:

Fix example for pamixer mute toggle in README.md

as stated in CONTRIBUTING.md. Otherwise it looks good, thanks :+1: