This commit is contained in:
mjallen18
2025-11-25 18:11:05 -06:00
parent 33c00f0d7c
commit 96eda0dae7
4 changed files with 214 additions and 72 deletions

View File

@@ -21,7 +21,7 @@ let
if [[ -n "$artist" && -n "$title" ]]; then
echo " $artist - $title"
elif [[ -n "$title" ]]; then
echo " $title"
echo " ''\${title//&/&}"
else
echo " Music Playing"
fi
@@ -43,15 +43,9 @@ let
art=$(playerctl metadata mpris:artUrl 2>/dev/null)
if [[ -n "$art" ]]; then
echo " $artist - $title"
else
echo " Music Playing"
echo ''\${art#file://}
fi
else
echo ""
fi
else
echo ""
fi
'';
in