Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
My current desktop.
 

Attachments

  • Afbeelding 1.jpg
    Afbeelding 1.jpg
    227.9 KB · Views: 132
I like how some of you have calendars displayed on the desktop... Is there a particular app y'all use? Could someone point me in the right direction? :eek:
 
You mean like this one?

That's the calendar I have on my desktop, anyway.

I <3 GeekTool. it's my absolute favourite mac tool. :cool:

I will be posting a whole week of Geektool tips in the week before my birthday (so that will be the first week of May). Feel free to come and check here what I do with Geektool on my machine soon!

I must say, the calendar thing on Lifehacker is VERY advanced cli-stuff, check the latest update on lifehacker as well, to see an even more advanced script, taht shows you the current day in a whole year... here
 
Shanks! My hero. :D

Wait... I can't get it to display today's date instead of "##"

:eek: Help, someone? :D


well, that script you entered is made to replace the current date with ## so, that's why.

If you don't want that just type "cal" for this months calendar OR "cal -y" for a full calendar of the current year.
 
Shanks! My hero. :D

Wait... I can't get it to display today's date instead of "##"

:eek: Help, someone? :D
cal | sed "s/^/ /;s/$/ /;s/ $(date +%e) / $(date +%e | sed 's/./#/g') /"

The # in the code above is the character that is designated to replace the current date in the calendar. Replace it with any other character.

Note: I noticed that it doesn't seem to work special characters like :apple:, etc, so play around with it a bit.
 
Here's mine..
Similiar to past months, but have exploring/learning more in photoshop...
 

Attachments

  • Desktop-small.jpg
    Desktop-small.jpg
    218.1 KB · Views: 139
Here's my current. Just an image from DeviantArt
 

Attachments

  • Picture 1_784x490.shkl.jpg
    Picture 1_784x490.shkl.jpg
    137.5 KB · Views: 149
If you don't want that just type "cal" for this months calendar OR "cal -y" for a full calendar of the current year.
Okay, I'm still stuck... I'd even settle for a single "#" but it always doubles whatever character is there. :eek:

For now, this is what my desktop looks like:

picture1uw2.png
 
Picture1.jpg


Dock usually hidden

Apps: Finder, Dashboard, iChat, Art Rage, Adobe Lightroom, Firefox, iTunes, NewsFire, Photoshop CS2, Solitare XL, iSale 4, Xee, DVD Player, System Prefs, Trash
 
Okay, I'm still stuck... I'd even settle for a single "#" but it always doubles whatever character is there. :eek:

It just requires piping it to sed again, but manually setting the char positions to replace. The following will replace the first number with a space and the second with an #. I'm sure there's a more elegant way than what I did, but this works.

Code:
cal | tr '\n' '|' | sed "s/^/ /;s/$/ /;s/ $(date +%e) / $(date +%e | sed 's/./ /1' | sed 's/./#/2') /g" | tr '|' '\n'

And if you want to see the entire year, with one marker:

Code:
cal -y | tr '\n' '|' | sed "s/^/ /;s/$/ /;s/ $(date +%e) / $(date +%e | sed 's/./ /1' | sed 's/./#/2') /$(date +%m | sed s/^0//)" | tr '|' '\n'

Instead of s/./#/g (which replaces all occurrences), I changed it to s/./ /1 (replace the first character with a space) and then piped it to another sed to replace the second character with an ampersand (sed 's/./#/2'). Works the same way, replacing the # with any standard character will make that the marker.

EDIT: Fixed to make it better for single digit days and a typo in the cal -y line.
 
A little something I was playing with in nCloth/Maya.

 

Attachments

  • nCloth2B.jpg
    nCloth2B.jpg
    223.6 KB · Views: 205
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.