deviant art





Login
Join deviantART for FREE Take the Tour Lost Password?
Deviant Login
Shop
 Join deviantART for FREE Take the Tour
[x]

More from ~adrusi

Featured in Groups:

Details

May 9, 2010
1.8 MB
1680×1050
Link
Thumb

Statistics

Comments: 9
Favourites: 7 [who?]
Views: 4,054 (3 today)
Downloads: 58 (0 today)

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
[x]
:iconadrusi:
This is a geektool setup that is designed to not only work with almost all wallpapers, but to look beautiful on them. You can see a video that shows it on a variety of wallpapers here: [link] The only cases in which this setup wont work is when there is text behind the bar.

Features:
*current weather with icon
*Date and Time
*Calendar
*iTunes Player (using bowtie)
*more soon -- possibly a random quote...
:icon:
Add a Comment:
 
:iconappleviews:
Preview

I've added your desktop screenshot to the Magnificent GeekTool Screenshots From May article here [link]

--
AppleViews: [link] (Seeing Apple Differently)
Reply
:iconadrusi:
I finally figured out the problem! I had accidentally deleted the image updater for the weather and the date!
• gradient background is a buch of images from: [link] just placed next to each other at 70% opacity

• the weather text is: curl --silent "[link]" | grep -E '(Current Conditions:|F<BR)' | sed -e 's/Current Conditions://' -e 's/<br \/>//' -e 's///' -e 's/<\/b>//' -e 's/<BR \/>//' -e 's/<description>//' -e 's/<\/description>//' -- I used Lucida Grande size 18pt with a silver color at a 600 second refresh

• the weather icon is 2 geeklets. The first one is a shel and uses this command: curl --silent -o /tmp/weather.html [link] curl --silent -o /tmp/weather.png $(grep "div\ class=\"forecast-icon\"\ style=\"background:url" /tmp/weather.html| awk -F"'" '{ printf $2 }');for NUM in $(grep -n "<li><strong>.*\n" /tmp/weather.html|cut -d":" -f1); do TARGET=$((NUM+1)) ; sed -n "$NUM"p /tmp/weather.html|sed 's|<li><strong>||g'|sed 's|</strong>||g'| sed 's/^[\t]*//'; sed -n "$TARGET"p /tmp/weather.html ; done
make that geeklet invisible by setting the text color to transparent and set it to refresh every 10 minutes (600 second)

• the second weather icon geeklet is an image pointing to file://localhost/tmp/weather.png set it also to refresh every 10 minutes note: the icon won't work without the other script as the script is what grabs the image from online

• the day of the month is a shell: date +"%d" size Lucida Grande size 144pt silver refresh every 10 minutes

• the abbreviated month script is: date +"%b" Lucida Grande size 40pt silver refresh every 10 minutes

• the day of the week is: date +"%A" Lucida Grande size 40pt silver refresh every 10 minutes

• the time script is: date +"%I:%M %p" Lucida Grande size 40pt silver refresh every 60 seconds

• the calendar is: cal | sed "s/^/ /;s/$/ /;s/ $(date +%e) / $(date +%e | sed 's/./#/g') /" you have to install a new font called monospace typewriter and set it to size 13pt silver

• finally the music info uses bowtie with the geektool theme with the window level set to embedded in desktop


--
<img src="[link]" />
1337 iz 4 n00bz
Oh wait, wtf?
Reply
:iconadrusi:
DO NOT USE THE ABOVE SCRIPTS!!!!!
apparently there was some HTML formatting in the weather text script that made everything bold use the following instead:
I finally figured out the problem! I had accidentally deleted the image updater for the weather and the date!
• gradient background is a buch of images from: [link] just placed next to each other at 70% opacity

• the weather text is: curl --silent "[link]" | grep -E '(Current ConditionsF<BR)' | sed -e 's/Current Conditions://'<b>-e 's/<br \/>//' -e 's///' -e 's/<\/b>//' -e 's/<BR \/>//' -e 's/<description>//' -e 's/<\/description>//' -- I used Lucida Grande size 18pt with a silver color at a 600 second refresh

• the weather icon is 2 geeklets. The first one is a shel and uses this command: curl --silent -o /tmp/weather.html [link] curl --silent -o /tmp/weather.png $(grep "div\ class=\"forecast-icon\"\ style=\"background:url" /tmp/weather.html| awk -F"'" '{ printf $2 }');for NUM in $(grep -n "
  • .*\n" /tmp/weather.html|cut -d":" -f1); do TARGET=$((NUM+1)) ; sed -n "$NUM"p /tmp/weather.html|sed 's|
    • ||g'|sed 's|||g'| sed 's/^[\t]*//'; sed -n "$TARGET"p /tmp/weather.html ; done
      make that geeklet invisible by setting the text color to transparent and set it to refresh every 10 minutes (600 second)

      • the second weather icon geeklet is an image pointing to file://localhost/tmp/weather.png set it also to refresh every 10 minutes note: the icon won't work without the other script as the script is what grabs the image from online

      • the day of the month is a shell: date +"%d" size Lucida Grande size 144pt silver refresh every 10 minutes

      • the abbreviated month script is: date +"%b" Lucida Grande size 40pt silver refresh every 10 minutes

      • the day of the week is: date +"%A" Lucida Grande size 40pt silver refresh every 10 minutes

      • the time script is: date +"%I:%M %p" Lucida Grande size 40pt silver refresh every 60 seconds

      • the calendar is: cal | sed "s/^/ /;s/$/ /;s/ $(date +%e) / $(date +%e | sed 's/./#/g') /" you have to install a new font called monospace typewriter and set it to size 13pt silver

      • finally the music info uses bowtie with the geektool theme with the window level set to embedded in desktop


--
<img src="[link]" />
1337 iz 4 n00bz
Oh wait, wtf?
Reply
:iconk2rii:
me too! looking forward... it looks really nice!
Reply
:iconadrusi:
see the reply I gave to *darquiel

--
<img src="[link]" />
1337 iz 4 n00bz
Oh wait, wtf?
Reply
:icondarquiel:
Can you share the Geektool config?
I am newbie with that tool, and am running into issues with getting set up.

--
Espresso, Absinthe & Lime....
Reply
:iconadrusi:
Don't use the below instructions set this up! Instead use my blog post! [link]

--
<img src="[link]" />
1337 iz 4 n00bz
Oh wait, wtf?
Reply
:iconadrusi:
I was going to but then my weather widget stopped working, so i need to fix that before i post the scripts

--
<img src="[link]" />
1337 iz 4 n00bz
Oh wait, wtf?
Reply
:icondarquiel:
Understood.
I look forward to seeing them.

Thanks

--
Espresso, Absinthe & Lime....
Reply
:icon:
Add a Comment: