Fix sound-control.sh

This commit is contained in:
Alexander Rosenberg 2024-08-24 16:17:08 -07:00
parent 01eeaa5417
commit 0c1a9e1697
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -19,6 +19,9 @@ function print_help {
let notify=1 let notify=1
function notify_vol { function notify_vol {
if ! ((${notify})); then
return
fi
let vol="$(pamixer --get-volume)" let vol="$(pamixer --get-volume)"
local icon local icon
if [[ "$(pamixer --get-mute)" == 'true' ]]; then if [[ "$(pamixer --get-mute)" == 'true' ]]; then