7

Bender Desktop

Posted in Collections by little 158 days ago

I have tried something and decided to share here. I'm using both Geektool and Nerdtool. The codes probably will work with Geektool without any errors. Here are the codes for what I did:

  1. The fonts I have used are Futurama Font and Andale Mono

  2. On the upper left corner I have Bowtie. I used this Bowtie Theme and changed the fonts. To change the fonts I have followed this comment by Camxso:

    "First, go to home/library/application support/bowtie/ Find the Geektool.BowTie Theme and right click to show package contents. Open the .html file in a text editor and where 'Helvetica Neue LT' is, put whatever font that you'd prefer and have installed on your system. Save it and close. Double-Click the new saved BowTie theme and it should reinstall the good one. Quit BowTie and restart, Voila!"

  3. For Calendar Events, I have used icalBuddy:

    echo "Calendar Events Today"
    /usr/local/bin/icalBuddy -f -ss "" -nrd -nc -df -eed -npn eventsToday
    
  4. For day, date and time:

    date +%A
    date "+%d %B" 
    date '+%H:%M:%S'
    
  5. For one month calendar:

    cal  | awk -v day="`date +%e` " '{ for (i=0;i<3;i++) {t[i]=substr($0,1+i*22,20) " ";  sub(day,"\033[0;37m&\033[0m",t[i]);} print t[0],t[1],t[2];}'
    

    To change the highlight color I have used ANSI color codes.

  6. For weather, I have used F****** Weather geeklet and added two days forecast to it:

    curl -s 'http://thefuckingweather.com/?zipcode=27606' | grep '"content\|"remark\|span' | sed 's/<[^>]*>//g' | sed 's/°/°/'
    zip=27606 
    temp_c=$(curl -s "http://xml.weather.yahoo.com/forecastrss?p=$zip&u=c" | egrep -o 'temp="[^"]*"' | sed -e 's/temp="//g' -e 's/"//g')
    echo "The fucking temperature is $temp_c ºC"
    echo "The fucking forecasts for"
    curl  "http://weather.yahooapis.com/forecastrss?p=USNC0558&u=c" | grep -e "Forecast:" -A 1| tail -n 1 | sed -e 's/<br \/>//' -e 's/<BR \/>//' | sed "s/\(.*\)\.\ \(.*\)/\1\?\2/" | tr "?" "\n" | sed "s/High\:\ \(.*\)\ Low\:\ \(.*\)/\?Highest\: \1 ºC\  Lowest\:\ \2 ºC/" | sed "s/\?\(.*\)/\\1/"
    curl  "http://weather.yahooapis.com/forecastrss?p=USNC0558&u=c" | grep -e "Forecast:" -A 2 | tail -n 1 | sed -e 's/<br \/>//' -e 's/<BR \/>//' | sed "s/\(.*\)\.\ \(.*\)/\1\?\2/" | tr "?" "\n" | sed "s/High\:\ \(.*\)\ Low\:\ \(.*\)/\?Highest\: \1 ºC\  Lowest\:\ \2 ºC/" | sed "s/\?\(.*\)/\\1/"
    
  7. For weather image, I have used the following script:

    curl --silent \
    "http://weather.yahoo.com/united-states/north-carolina/raleigh-12769146/"\
     | grep "forecast-icon" | \
    sed "s/.*background\:url(\'\(.*\)\')\;\ _background.*/\1/" | \
    xargs curl --silent -o /tmp/weather.png
    

    and the following image file:

    file:///tmp/weather.png
    
  8. Below the weather I have Adium. In Adium I have used:

  9. I have changed the color in this wallpaper.

  10. For Dock I have used Docker.

  11. For Black & White icons I have used GIMP and made original icons Black & White.


Geeklet files to download

Comments

User Avatar
fahmi98 59 days ago
At last, I manage to create the weather geeklet.
User Avatar
bfg67 50 days ago
you have some nice geeklets there, have used some of them myself. Thanks particularly for the info on editing the Bowtie fonts etc.

Docker was a good find too

How do you get the Adium contact list to pin to the desktop with no background?
User Avatar
little 20 days ago
As far as I remember, I customized the colors in Adium Preferences-Appearance. Under Contact list I used Decay 2.0 as the theme and layout option and customized the colors.

To pin down the list under Advanced tab select Contact List and choose "Show the contact list Below other windows" and if you want "show on all spaces".

I hope this helps.
User Avatar
lumux 6 days ago
I just can't get the f*cking weather geeklet to work for me! even in the simplified version, it leaves a line of nonsense beween the city name and the comment ("It's f*cking wet" etc). Anybody else experience this? I think it's due to my being in Dunedin, New Zealand, and my postal code not working when I swap it for the one in the example..

Log in to comment or register here.