statusbar: fixed bug in volume script

master
TiynGER 10 months ago
parent f862b777ec
commit 174e2b76d9

@ -10,7 +10,7 @@ else
vol_info="^b#282828^^c#dfdfdf^  ^d^" vol_info="^b#282828^^c#dfdfdf^  ^d^"
fi fi
$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | grep -q '\[MUTED\]') && vol_info="^c#ff0000^ ^d^" $(wpctl get-volume @DEFAULT_AUDIO_SINK@ | grep -q '\[MUTED\]') && vol_info="^b#282828^^c#ff0000^  ^d^"
if wpctl get-volume @DEFAULT_SOURCE@ | grep -q '\[MUTED\]'; then if wpctl get-volume @DEFAULT_SOURCE@ | grep -q '\[MUTED\]'; then
mic="^b#282828^^c#ff0000^  ^d^" mic="^b#282828^^c#ff0000^  ^d^"

Loading…
Cancel
Save