Tag, Could you please share your wallpaper? is very nice. tks
Sure, originally it came from here, though I edited out the digital text in the center as I didn't care for it. Attached is my edited one...
Tag, Could you please share your wallpaper? is very nice. tks
#!/bin/sh
# Not my code I take no credit, I just made some small changes.
# I'm not sure who the original author is so sorry for no mention.
# Images are random images from the internet, I take no credit for those either.
# don't like the above statement, then don't use it. Simple.
SIGNAL=`/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | awk '/agrCtlRSSI:/ {print $2}' | sed -e 's/\-/ /'`
SSID=`/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport -I | awk -F: '/ SSID: / {print $2}' | sed -e 's/.*SSID: //'`
CH=`/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | awk '/channel:/ {print $2}'`
WAN=`curl --silent http://checkip.dyndns.org | grep -Eo '([0-9]{1,3}\.){3}[0-9]{1,3}'`
LAN=`ifconfig en0 | grep "inet" | grep -v 127.0.0.1 | grep -v inet6 | awk '{print $2}'`
VPN=`ifconfig utun1 | grep "inet" | grep -v 127.0.0.1 | grep -v inet6 | awk '{print $2}'`
TRate=$(system_profiler SPAirPortDataType | awk '/Rate/ {print $3 " Mbps"}')
color_red=`echo "33[0;31m"`
if [ "$SSID" ] ; then
echo "SSID: $SSID"
echo "Channel: $CH$WiFi_IP "\Transmit Rate: " $TRate"
else
echo "AirPort: OFF"
fi
echo "Signal Strength:\t\c"
if [ ${#SIGNAL} = 0 ]
then
echo "Disconnected\c"
else
if [ $SIGNAL -lt 11 ]
then
echo "\033[1;31m\c"
else
echo "\033[0m\c"
fi
while [ $b -le $SIGNAL ]
do
echo "|\c"
b=`expr $b + 5`
done
while [ $b -le 100 ]
do
echo "\033[1;37m|\033[0m\c"
b=`expr $b + 5`
done
echo "\033[0m $SIGNAL%\c"
unset SIGNAL
unset b
fi
if [ "$LAN" ] ; then
echo "\nLAN IP Address: $LAN"
else
echo "LAN IP Address: NO CONNECTION"
fi
if [ "$WAN" ] ; then
echo "EXT IP Address: $WAN"
else
echo "EXT IP Address: NO INTERNET CONNECTION"
fi
You may want to seperate out the part where it checks the dydns.org website for your external IP and have that separate with a longer refresh time in it's own separate geeklet. Dyn asks that requests are 10 minutes apart at least. I don't know what happens if you request that page say, every 30 seconds for hours on end, it may temporarily ban your IP or do nothing, I'm not sure off hand as they don't implicitly say on their site.refresh is set at 30 seconds.
A refresh rate of 0 means it will load once, then not update again.Also, what does a refresh rate of 0 mean?
Today I downloaded an app called Hermes which is a standalone Pandora Radio client (which seems pretty decent, and also can apparently bypass the skip limit somehow which is nice). It seems that no one has written any geektool scripts to display song info, so I wrote up my own.
Code:on run tell application "System Events" set num to count (every process whose name is "Hermes") end tell if num > 0 then tell application "Hermes" get playback state set stationname to the current station's name set titlename to the current song's title set artistname to the current song's artist set albumname to the current song's album set albumart to current song's art if playback state is not paused then set info to "Streaming: Pandora Radio" & " -- Station: " & stationname & " -- Artist: " & artistname & " -- Title: " & titlename & " -- Album: " & albumname else set info to "Pandora Radio is Paused" end if end tell end if return info end run
If you would prefer the info to be stacked instead of in a straight line, replace line 14 with the following...
Code:set info to "Streaming: Pandora Radio" & "\n Station: " & stationname & "\n Artist: " & artistname & "\n Title: " & titlename & "\n Album: " & albumname
Save the file as whatever (I used Hermes.scpt), and in Geektool set as a shell command, and use the following command (change directory as needed)...
Code:osascript /Users/USER/WHEREVER/Hermes.scpt
Just thought I'd share in case anyone else uses this app.
[screenshot attached]
Could you by chance hang your scripts for the horizontal at the top... I love the layout and color scheme..
I assume you mean the bar which shows CPU, memory, net transfer, etc... That is actually an app called XRG, not geektool.
Since you liked the color scheme, I saved and attached my XRG theme file for you.
My first attempt.. IOS 7 theme with a inspirational quote from the man himself...Still very much a work in progress...I'll work on the icons next using this to get a more authentic ios7 expereince..
http://iynque.deviantart.com/art/iOS-7-Icons-Updated-378969049
Image
Edit:
version 2.0.0
Image
Dude, I miss Arch+Conky so much. That was an amazing setup.
[url=http://i.imgur.com/nuZCql.jpg]Image[/URL]