rozen, Sunday 05 August 2012 à 01:17
|
|
Subscription date : 20 December 2009
Messages : 19
|
Hi,
I am running cairo-dock 3.0.0 on Linux Mint 13 Cinnamon but use Xfce. I use Calendar and am grateful that the recent have been committed and now I have another change to propose. I would like the Calendar to display a single date digit in the first nine days of the month. My code for accomplishing this is as follows:
FIRST_CHAR=${DAY:0:1}
if [ $FIRST_CHAR == "0" ]
then
DAY=${DAY:1}
fi
inserted at the top of icon.sh between the following two lines:
DAY=$(date +%d)
# generate calendar-icon showing current day and month
This modification seems to work but I have not yet tested it throughout a whole month.
Thanks for Your Consideration,
Don |
fabounet, Tuesday 07 August 2012 à 17:21
|
|
Subscription date : 30 November 2007
Messages : 17118
|
I think that we actually write the additional 0 on purpose
it seems better to me that the date always takes the same amount of space |
matttbe, Friday 10 August 2012 à 16:28
|
|
Subscription date : 24 January 2009
Messages : 12573
|
The icons have been created to display 2 digits but yes, it can be better to only display one digit if it's possible.
Maybe with an option? |
fabounet, Tuesday 14 August 2012 à 17:11
|
|
Subscription date : 30 November 2007
Messages : 17118
|
FALSE by default then  |
|