Commit 1b3124e 1 parent a84e283 commit 1b3124e Copy full SHA for 1b3124e
File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -387,7 +387,12 @@ function output() {
387
387
if [ " $IS_MUTED " = " yes" ]; then
388
388
# shellcheck disable=SC2034
389
389
VOL_ICON=$ICON_MUTED
390
- echo " ${COLOR_MUTED} $( eval echo " $FORMAT " ) ${END_COLOR} "
390
+ content=" $( eval echo " $FORMAT " ) "
391
+ if [ -n " $COLOR_MUTED " ]; then
392
+ echo " ${COLOR_MUTED}${content}${END_COLOR} "
393
+ else
394
+ echo " $content "
395
+ fi
391
396
else
392
397
eval echo " $FORMAT "
393
398
fi
@@ -406,6 +411,7 @@ Options:
406
411
Default: \" $AUTOSYNC \"
407
412
--color-muted <rrggbb>
408
413
Color in which to format when muted.
414
+ Pass empty string to disable.
409
415
Default: \" ${COLOR_MUTED: 4:- 1} \"
410
416
--notifications | --no-notifications
411
417
Whether to show notifications when changing nodes.
You can’t perform that action at this time.
0 commit comments