From 10fafaa47093022592890122d8cb6b2299cafc11 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Thu, 10 Sep 2020 10:29:25 +0200 Subject: [PATCH] [Conky] Fix date display when YYYY-MM-DD format --- .config/conky/conky.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.config/conky/conky.conf b/.config/conky/conky.conf index 32bc80c..329ac1a 100644 --- a/.config/conky/conky.conf +++ b/.config/conky/conky.conf @@ -131,11 +131,10 @@ ${downspeedgraph enp0s31f6 25,160 99cc33 006600}$alignr${upspeedgraph enp0s31f6 ${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} ${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-} - ${exec cmus-remote -Q 2>/dev/null | grep 'tag album ' | 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-} ${execbar ~/.config/conky/cmus-conky-timebar.sh}${color white} ${alignc}${exec cmus-remote -Q | grep 'position'| awk '{print strftime("%M:%S", $2, 1)}'} / ${exec cmus-remote -Q | grep 'duration' | awk '{print strftime("%M:%S", $2, 1)}'} ${else}$alignc Nothing is playing at the moment. ${endif} -${color DimGray}${execi 120 fortune -a -n 500 -s | fold -s -w54}$color ]]