1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-25 20:47:45 +01:00

statusbar: fixed bug in volume script

This commit is contained in:
TiynGER 2024-03-09 02:55:15 +01:00
parent f862b777ec
commit 174e2b76d9

View File

@ -10,7 +10,7 @@ else
vol_info="^b#282828^^c#dfdfdf^  ^d^"
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
mic="^b#282828^^c#ff0000^  ^d^"