Forgot some changes

This commit is contained in:
CramMK
2020-06-19 11:21:28 +02:00
parent 9ba1093ba6
commit 92901fba75
2 changed files with 6 additions and 6 deletions

View File

@@ -100,18 +100,18 @@ font:
family: InconsolataLGC Nerd Font Mono
# The `style` can be specified to pick a specific face.
#style: Regular
style: Regular
# Bold font face
#bold:
bold:
# Font family
#
# If the bold family is not specified, it will fall back to the
# value specified for the normal font.
#family: monospace
family: InconsolataLGC Nerd Font Mono
# The `style` can be specified to pick a specific face.
#style: Bold
style: Bold
# Italic font face
italic:

View File

@@ -16,7 +16,7 @@ main() {
album=$(echo "$meta" | sed -nr '/xesam:album"/,+2s/^ +variant +string "(.*)"$/\1/p' | tail -1| sed 's/\&/\\&/g'| sed 's#\/#\\/#g')
title=$(echo "$meta" | sed -nr '/xesam:title"/,+2s/^ +variant +string "(.*)"$/\1/p' | tail -1 | sed 's/\&/\\&/g'| sed 's#\/#\\/#g')
echo "${*:-%artist% - %title%}" | sed "s/%artist%/$artist/g;s/%title%/$title/g;s/%album%/$album/g"i | sed "s/\&/\&/g" | sed "s#\/#\/#g"
echo "${*:-%artist% - %title%}" | sed "s/%artist%/$artist/g;s/%title%/$title/g;s/%album%/$album/g"i | sed "s/\&/\&/g" | sed "s#\/#\/#g"
}