From ad55df206699c783e23e4bb5066b2a2889da7418 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Mon, 2 Sep 2013 17:18:44 -0400 Subject: [PATCH] On single digit days, there appears to be a space there. Accommodate for that with regex. --- left.conkyrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/left.conkyrc b/left.conkyrc index 75d0274..e67c73c 100644 --- a/left.conkyrc +++ b/left.conkyrc @@ -54,9 +54,9 @@ ${color2}${goto 5}${font DejaVu Sans:size=30}${time %H}${font DejaVu Sans:size=2 ${voffset 13}${font Inconsolata:size=13}${execpi 405 ~/hacks/Small-Hacks/org-mode-appt-check.plx} ${color4}$hr -${color}${font Inconsolata:size=11}${execpi 810 /usr/bin/gcal -H T:t:H:h .. | /usr/bin/perl -ne 'next if /^\s*\d*\s*$/; s/T(\d+)t/\${color7} $1 \${color}/g; print;'} +${color}${font Inconsolata:size=11}${execpi 810 /usr/bin/gcal -H T:t:H:h .. | /usr/bin/perl -ne 'next if /^\s*\d*\s*$/; s/T(\s*\d+\s*)t/\${color7} $1 \${color}/g; print;'} -${color}${font Inconsolata:size=11}${execpi 810 /usr/bin/gcal -H T:t:H:h %`date +"%Y%m%d" --date='3 months'` ..| /usr/bin/perl -ne 'next if /^\s*\d*\s*$/; s/T(\d+)t/ $1 /g; print;'} +${color}${font Inconsolata:size=11}${execpi 810 /usr/bin/gcal -H T:t:H:h %`date +"%Y%m%d" --date='3 months'` ..| /usr/bin/perl -ne 'next if /^\s*\d*\s*$/; s/T(\s*\d+\s*)t/ $1 /g; print;'} ${voffset -10}${color2}${font led:size=10}CPU ${font}$hr Overall temperature: ${acpitemp}°C