Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix --calendar producing same output as --calendarm

Both options seem to be producing identical output, with week beginning on Monday.  Force --calendar to use Sunday as first day of the week.
  • Loading branch information...
commit 5502388479286360a1e20638140c245f1658e65d 1 parent 195b7b4
@android-808 android-808 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/conkyrc_default.c
View
2  src/conkyrc_default.c
@@ -273,7 +273,7 @@ void conkyrc_default () {
fprintf(fp,"${voffset -2}${color0}${font Poky:size=16}D${font}${voffset -8}${font Ubuntu:style=Bold:size=7}${offset -17}${voffset 4}${time %%d}${font}${color}${voffset -1}${font Monospace:size=7}${execpi 300 DJS=`date +%%_d`; cal ");
if (ubuntufix == 'y')
fprintf(fp,"-h ");
- fprintf(fp,"|sed \'2,8!d\'| sed \'/./!d\' | sed \'s/^/${goto 42} /\'| sed \'s/$/ /\' | sed \'s/^/ /\' | sed /\" $DJS \"/s/\" $DJS \"/\" \"\'${font Arial:style=Bold:size=8}${voffset -2}${offset -4}${color1} \'\"$DJS\"\'${color}${font Monospace:size=7}\'\" \"/}${voffset -1}\n");
+ fprintf(fp," -s|sed \'2,8!d\'| sed \'/./!d\' | sed \'s/^/${goto 42} /\'| sed \'s/$/ /\' | sed \'s/^/ /\' | sed /\" $DJS \"/s/\" $DJS \"/\" \"\'${font Arial:style=Bold:size=8}${voffset -2}${offset -4}${color1} \'\"$DJS\"\'${color}${font Monospace:size=7}\'\" \"/}${voffset -1}\n");
if (ubuntufix == 'y')
fprintf(fp,"${voffset -22}\n");
}
Please sign in to comment.
Something went wrong with that request. Please try again.