fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user