[Conky] Fix the display length of the artists

This commit is contained in:
Gregory Trolliet 2020-09-10 10:43:19 +02:00
parent 10fafaa470
commit 617679639b

View file

@ -129,7 +129,7 @@ ${downspeedgraph enp0s31f6 25,160 99cc33 006600}$alignr${upspeedgraph enp0s31f6
#Credit to Reddit user: /u/Rioku_jk
##############################################
${color0}${font sans-serif:bold:size=8}MUSIC ${hr 2}$color
$font${if_running cmus}${exec cmus-remote -Q 2>/dev/null | grep 'tag artist ' | cut -d " " -f 3-} $alignr ${exec ~/.config/conky/cmus-country.sh}
$font${if_running cmus}${scroll wait 33 3 1 ${exec cmus-remote -Q 2>/dev/null | grep 'tag artist ' | cut -d " " -f 3-}} $alignr ${exec ~/.config/conky/cmus-country.sh}
${scroll wait 53 3 1 ${exec cmus-remote -Q 2>/dev/null | grep 'tag genre ' | cut -d " " -f 3-}}
${exec cmus-remote -Q 2>/dev/null | grep ' date' | cut -d " " -f 3 | cut -d "-" -f 1} - ${exec cmus-remote -Q 2>/dev/null | grep 'tag album ' | cut -d " " -f 3-}
${exec cmus-remote -Q | grep tracknumber | cut -d " " -f 3}. ${exec cmus-remote -Q 2>/dev/null | grep 'title' | cut -d " " -f 3-}