Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
Not open for further replies.
Format date output

Hi all!

First off all, many thanks to all the contributors on this topic. You guys helped me love my desktop again!

I would like to format my date output from Geektool so it would look like this:

today is tuesday augustus two two thousand eleven (all lowercase)

Many thanks in advance for your help!

Ro
 
Gas Buddy

This is pretty specific to my needs (I run a gas station) but its possible someone can use the code to their advantage.
This downloads a bunch of gas buddy sites near my site, scrapes the site for the current prices and then displays it in a nice little grid.

I am certain this could have been done better by someone who can script but I did the best I could with the knowledge google provided and my limited ability to understand it.

Code:
#! /bin/bash
mkdir -p ~/Documents/FuelPrices
cd ~/Documents/FuelPrices
curl "http://m.gasbuddy.com/StationProfile.aspx?s=AibDFn%2fkZNc%3d&t=33020" -o "oakwoodprices.txt"
curl "http://m.gasbuddy.com/StationProfile.aspx?s=MVtn7QmOZDw%3d&t=33020" -o "cumberlandprices.txt"
curl "http://m.gasbuddy.com/StationProfile.aspx?s=Lab28UNbuoU%3d&t=33020" -o "bpprices.txt" 
curl "http://m.gasbuddy.com/StationProfile.aspx?s=yyecGr%2bojLA%3d&t=33020" -o "citgo.txt" 
curl "http://m.gasbuddy.com/StationProfile.aspx?s=il1ROWqGEa4%3d&t=33020" -o "shell.txt" 
curl "http://m.gasbuddy.com/StationProfile.aspx?s=%2bzYZn0wkjAk%3d&t=33021" -o "mobil34.txt" 
curl "http://m.gasbuddy.com/StationProfile.aspx?s=UVbB2sjc9Hw%3d" -o "mobil40stirling.txt" 
curl "http://m.gasbuddy.com/StationProfile.aspx?s=jUaUcZDnbuw%3d" -o "chevron40.txt" 
curl "http://m.gasbuddy.com/StationProfile.aspx?s=3wLwrvm77f8%3d&t=1+south+dania+beach+blvd+fl" -o "mobildania.txt" 


#Regular
#awk#1 captures line # 126, awk#2 removes leading whitespace, tr removes linefeed
oakR=$(awk 'NR==126' ~/Documents/FuelPrices/oakwoodprices.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
cumbfarmR=$(awk 'NR==126' ~/Documents/FuelPrices/cumberlandprices.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
bpR=$(awk 'NR==126' ~/Documents/FuelPrices/bpprices.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
citgoR=$(awk 'NR==126' ~/Documents/FuelPrices/citgo.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
shellR=$(awk 'NR==126' ~/Documents/FuelPrices/shell.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
mobil34R=$(awk 'NR==126' ~/Documents/FuelPrices/mobil34.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
mobil40R=$(awk 'NR==126' ~/Documents/FuelPrices/mobil40stirling.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
chevronR=$(awk 'NR==126' ~/Documents/FuelPrices/chevron40.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
mobildaniaR=$(awk 'NR==126' ~/Documents/FuelPrices/mobildania.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')


#Special 
oakSP=$(awk 'NR==153' ~/Documents/FuelPrices/oakwoodprices.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
cumbfarmSP=$(awk 'NR==153' ~/Documents/FuelPrices/cumberlandprices.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
bpSP=$(awk 'NR==153' ~/Documents/FuelPrices/bpprices.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
citgoSP=$(awk 'NR==153' ~/Documents/FuelPrices/citgo.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
shellSP=$(awk 'NR==153' ~/Documents/FuelPrices/shell.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
mobil34SP=$(awk 'NR==153' ~/Documents/FuelPrices/mobil34.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
mobil40SP=$(awk 'NR==153' ~/Documents/FuelPrices/mobil40stirling.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
chevronSP=$(awk 'NR==153' ~/Documents/FuelPrices/chevron40.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
mobildaniaSP=$(awk 'NR==153' ~/Documents/FuelPrices/mobildania.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')


#Super 
oakSU=$(awk 'NR==180' ~/Documents/FuelPrices/oakwoodprices.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
cumbfarmSU=$(awk 'NR==180' ~/Documents/FuelPrices/cumberlandprices.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
bpSU=$(awk 'NR==180' ~/Documents/FuelPrices/bpprices.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
citgoSU=$(awk 'NR==180' ~/Documents/FuelPrices/citgo.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
shellSU=$(awk 'NR==180' ~/Documents/FuelPrices/shell.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
mobil34SU=$(awk 'NR==180' ~/Documents/FuelPrices/mobil34.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
mobil40SU=$(awk 'NR==180' ~/Documents/FuelPrices/mobil40stirling.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
chevronSU=$(awk 'NR==180' ~/Documents/FuelPrices/chevron40.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')
mobildaniaSU=$(awk 'NR==180' ~/Documents/FuelPrices/mobildania.txt|awk '{ sub(/^[ \t]+/, ""); print }'| tr '\r' ' ')


#Diesel
#awk#1 captures line # 126, awk#2 removes leading whitespace, awk#3 removes trailing whitespace, tr removes linefeed
oakD=$(awk 'NR==207' ~/Documents/FuelPrices/oakwoodprices.txt|awk '{ sub(/^[ \t]+/, ""); print }'| awk '{$1=$1};1' |tr '\r' ' ')
citgoD=$(awk 'NR==207' ~/Documents/FuelPrices/citgo.txt|awk '{ sub(/^[ \t]+/, ""); print }'|awk '{$1=$1};1' | tr '\r' ' ')
mobil40D=$(awk 'NR==207' ~/Documents/FuelPrices/mobil40stirling.txt|awk '{ sub(/^[ \t]+/, ""); print }'| awk '{$1=$1};1' |tr '\r' ' ')
chevronD=$(awk 'NR==207' ~/Documents/FuelPrices/chevron40.txt|awk '{ sub(/^[ \t]+/, ""); print }'| awk '{$1=$1};1' |tr '\r' ' ')

printf "    %-6s %-6s %-6s %-6s %-6s %-6s %-6s %-6s %-6s\n" "Oak" "Cumb" "BP" "Citg" "Shell" "Mob34" "Mob40" "Chev" "Mob1"
printf "Reg %-6s %-6s %-6s %-6s %-6s %-6s %-6s %-6s %-6s\n" "$oakR" "$cumbfarmR" "$bpR" "$citgoR" "$shellR" "$mobil34R" "$mobil40R" "$chevronR" "$mobildaniaR"
printf "Spc %-6s %-6s %-6s %-6s %-6s %-6s %-6s %-6s %-6s\n" "$oakSP" "$cumbfarmSP" "$bpSP" "$citgoSP" "$shellSP" "$mobil34SP" "$mobil40SP" "$chevronSP" "$mobildaniaSP"	
printf "SU+ %-6s %-6s %-6s %-6s %-6s %-6s %-6s %-6s %-6s\n" "$oakSU" "$cumbfarmSU" "$bpSU" "$citgoSU" "$shellSU" "$mobil34SU" "$mobil40SU" "$chevronSU" "$mobildaniaSU"
printf "Die %-6s %-6s %-6s %-6s %-6s %-6s %-6s %-6s %-6s\n" "$oakD" "" "" "$citgoD" "" "" "$mobil40D" "$chevronD"

exit 0
 
Weather Bug

Ah ok, well that's easily enough done.

For condition...
Code:
curl --silent "http://weather.yahooapis.com/forecastrss?p=USPA0730&u=f" | grep -E '(Current Conditions:|F<BR)' | sed -e 's/Current Conditions://' -e 's/<br \/>//' -e 's/<b>//' -e 's/<\/b>//' -e 's/<BR \/>//' -e 's/<description>//' -e 's/<\/description>//' | cut -f 1 -d ","

For temperature...
Code:
curl --silent "http://weather.yahooapis.com/forecastrss?p=USPA0730&u=f" | grep -E '(Current Conditions:|F<BR)' | sed -e 's/Current Conditions://' -e 's/<br \/>//' -e 's/<b>//' -e 's/<\/b>//' -e 's/<BR \/>//' -e 's/<description>//' -e 's/<\/description>//' | cut -f 2 -d ","



--Is there a way to get this for Weather Bug, and not Yahoo Weather? Thanks in advance.
 
Widgets

With Safari you can select a part of a page and "turn it into" a widget for dashboard. Is there a way to have GeekTool to do something similar?
 
Getting set back up with Lion

I've recently updated to Lion from a fresh install and I've basically gotten Geektools all setup. But I can't get my dock background to go away. I remember it involved deleting/replacing the .png files that the system uses to render the dock. I've been looking around and can only find the unhelpful suggestion to purchase a program for 10 bucks.

Basically, I have everything back the way I want it with the exception of the dock:

 
I've recently updated to Lion from a fresh install and I've basically gotten Geektools all setup. But I can't get my dock background to go away. I remember it involved deleting/replacing the .png files that the system uses to render the dock. I've been looking around and can only find the unhelpful suggestion to purchase a program for 10 bucks.

Basically, I have everything back the way I want it with the exception of the dock:

[url=http://img818.imageshack.us/img818/1630/screenshot20110803at634.th.jpg]Image[/URL]



I may be wrong here, but try ( AFTER copying the files to a safe place ) :

/System/Library/CoreServices
-> right click Dock.app
-> Show Package Contents
-> Contents
-> Resources

Delete scurve-l,m,sm,xl.png, separator.png, shadow.png and anyone please remind me if I forgot something~

Oh yea the system will ask you to authenticate with your pw.
 
I am soooo lost. i downloaded Geektool 3 and would love if I could have a todo list in one corner and date/time in another. is this possible? I just don't know what to do :(
 
I am soooo lost. i downloaded Geektool 3 and would love if I could have a todo list in one corner and date/time in another. is this possible? I just don't know what to do :(


Easily done mate, just be a little more specific on how you want them to look like! I know 124 pages sounds like a lot to browse through but truly it's mostly either todo/calendar/date&time/stocks geeklets, so just pick some random pages and you should find a desktop with a style that interests you! Then knock back here if the post with the desktop and the code doesn't help you :D

PS: Tag, thanks for the help mate you're a GENIOUS.
 
How to use GeekTool to monitor your VoIP status

It's the golden age of Roll-Your-Own VoIP, with massive savings. But how do you know the status of your VoIP system at any given moment? One provider, voip.ms, provides an API which makes it easy to construct a GeekTool object that continuously monitors your VoIP status on your desktop and even throw up a Growl notification if there's a problem!

Full instructions and code are presented at http://unvexed.blogspot.com/2011/07/how-to-be-alerted-when-your-voip-goes.html
 
Easily done mate, just be a little more specific on how you want them to look like! I know 124 pages sounds like a lot to browse through but truly it's mostly either todo/calendar/date&time/stocks geeklets, so just pick some random pages and you should find a desktop with a style that interests you! Then knock back here if the post with the desktop and the code doesn't help you :D

PS: Tag, thanks for the help mate you're a GENIOUS.

I would like to do either this one http://www.macosxtips.co.uk/geeklets/productivity/to-do-list-from-ical/ or
http://macmembrane.com/use-geektool-to-display-taskpaper-lists-on-your-desktop/ this for todo. I've downloaded geek tool and a geek let but I can't get it to work :(
 
so i am completely new to this. I'm trying to make the desert sands one with the included tutorial, but I haven't gotten very far. No matter what, whenever I try to drag a new shell to the desktop, it won't let me drop it anywhere. I have tried it disconnected from the internet, with the internet connected, with programs running, with nothing else running, everything I can think of....restarted, everything. how can I get it to drag and stay on the desktop?
 
I would like to do either this one http://www.macosxtips.co.uk/geeklets/productivity/to-do-list-from-ical/ or
http://macmembrane.com/use-geektool-to-display-taskpaper-lists-on-your-desktop/ this for todo. I've downloaded geek tool and a geek let but I can't get it to work :(



Please try to be a little more specific my friend! When you say you can't get it to work, have you tried, after opening the geeklet, setting the refresh value and checking if the font is white/black and mixing with your background?

If you copy the geeklet on the Terminal window, do you get an actual system response?
 
Hi, what is the geektool script if I just want to have a message/text displayed?
echo "What ever you what to say"
echo is the command
The text between the quote marks will be displayed
 
echo "What ever you what to say"
echo is the command
The text between the quote marks will be displayed

Thanks, I figured it out.

I had another issue/question. It is with a geeklet I am using. I'm using the iTunes rating geeklet.

I am having a problem getting it to work correctly. It seems that when I get to a song that has no rating, the geeklet does not work correctly unless I open the Geektools preference window / refresh the script. For example. I'll start by playing a 4 star track and it will show 4 stars, then a 3 star track and it will show 3 stars, then a 5 star track and it will show 5 stars, then an unrated track and it won't change from the last track (i.e. if the last track was 5 stars, the unrated track will be 5 stars), but then if I got back to a rated track (say a 4 star track), it doesn't change... it will just be stuck at whatever rating the song before the unrated track was... until I open up the preferences pane again. Then it will work like normal... until I play another unrated track. Any idea of whats wrong?

i think this is the script...

Code:
#!/usr/bin/osascript

on run
	set info to ""
	tell application "System Events"
		set num to count (every process whose name is "iTunes")
	end tell
	if num > 0 then
		tell application "iTunes"
			if player state is playing then
				set how to rating of current track
				set how to how / 20 as integer
				set star to {"★"}
				set infoitems to {}
				set starnum to 0
				repeat
					set infoitems to infoitems & star
					set starnum to starnum + 1
					if starnum = how then exit repeat
				end repeat
				set info to infoitems as string
			end if
		end tell
	end if
	return info
end run
 
@ caaalebbb Try this. :)

Code:
on run
	set info to ""
	tell application "System Events"
		set num to count (every process whose name is "iTunes")
	end tell
	if num > 0 then
		tell application "iTunes"
			if player state is playing then
				set how to rating of current track
				set how to how / 20 as integer
				set star to {"★"}
				set infoitems to {}
				set starnum to 0
				repeat
					if how < 1 then exit repeat
					set infoitems to infoitems & star
					set starnum to starnum + 1
					if starnum = how then exit repeat
				end repeat
				set info to infoitems as string
				if info = "" then set info to "Not rated"
			end if
		end tell
	end if
	return info
end run
 
@ caaalebbb Try this. :)

Code:
on run
	set info to ""
	tell application "System Events"
		set num to count (every process whose name is "iTunes")
	end tell
	if num > 0 then
		tell application "iTunes"
			if player state is playing then
				set how to rating of current track
				set how to how / 20 as integer
				set star to {"★"}
				set infoitems to {}
				set starnum to 0
				repeat
					if how < 1 then exit repeat
					set infoitems to infoitems & star
					set starnum to starnum + 1
					if starnum = how then exit repeat
				end repeat
				set info to infoitems as string
				if info = "" then set info to "Not rated"
			end if
		end tell
	end if
	return info
end run

thank you so much! it worked!
 
This version will display the "played count" if the track is not rated. May help with rating songs. :)

Code:
on run
	set info to ""
	tell application "System Events"
		set num to count (every process whose name is "iTunes")
	end tell
	if num > 0 then
		tell application "iTunes"
			if player state is playing then
				if rating of current track > 1 then
					set how to rating of current track
					set how to how / 20 as integer
					set star to {"★"}
					set infoitems to {}
					set starnum to 0
					repeat
						set infoitems to infoitems & star
						set starnum to starnum + 1
						if starnum = how then exit repeat
					end repeat
					set info to infoitems as string
				else
					set info to played count of current track
				end if
			end if
		end tell
	end if
	return info
end run
 
Has anyone been able to use Geektool to display album artwork on Mac OS Lion? I've been debugging for about four days now, and I still get the error message:

Code:
 error Can’t make \"Macintosh HD:Users:username:Pictures:iTunes Artwork:From iTunes:albumArt.pict\" into type file specification." number -1700 from "Macintosh HD:Users:username:Pictures:iTunes Artwork:From iTunes:albumArt.pict" to file specification

Any help is appreciated.

heres a cool script i found searching for a facebook RSS feed... (totally unrelated :eek:)
it puts the itunes artwork on your desktop! i've been wanting to do this forever!
Code:
-- Paths and stuff
set ArtworkFromiTunes to ((path to home folder) as text) & ¬
	"Pictures:iTunes Artwork:From iTunes:albumArt.pict" as alias
set iTunesArtwork to ((path to home folder) as text) & ¬
	"Pictures:iTunes Artwork:From iTunes:albumArt.pict"
set DefaultArtwork to ((path to home folder) as text) & ¬
	"Pictures:iTunes Artwork:Default:albumArt.pict"
set displayArtwork to ((path to home folder) as text) & ¬
	"Pictures:iTunes Artwork:albumArt.pict"

-- Unix versions of the above path strings
set unixITunesArtwork to the quoted form of POSIX path of iTunesArtwork
set unixDefaultArtwork to the quoted form of POSIX path of DefaultArtwork
set unixDisplayArtwork to the quoted form of POSIX path of displayArtwork

set whichArt to "blank"
tell application "System Events"
	if exists process "iTunes" then -- iTunes is running
		tell application "iTunes"
			if player state is playing then -- iTunes is playing
				set aLibrary to name of current playlist -- Name of Current Playlist
				set aTrack to current track
				set aTrackArtwork to null
				if (count of artwork of aTrack) ≥ 1 then -- there's an album cover
					"Running and playing and art"
					set aTrackArtwork to data of artwork 1 of aTrack
					set fileRef to ¬
						(open for access ArtworkFromiTunes with write permission)
					try
						set eof fileRef to 512
						write aTrackArtwork to fileRef starting at 513
						close access fileRef
					on error errorMsg
						try
							close access fileRef
						end try
						error errorMsg
					end try
					
					tell application "Finder" to ¬
						set creator type of ArtworkFromiTunes to "????"
					set whichArt to "iTunes"
				end if
			end if
		end tell
	end if
end tell

if whichArt is "iTunes" then
	do shell script "ditto -rsrc " & unixITunesArtwork & space & unixDisplayArtwork
else
	do shell script "ditto -rsrc " & unixDefaultArtwork & space & unixDisplayArtwork
end if

its in AppleScript and you have to do a few steps before it works (make a folder in ~/Pictures)
more info here! http://www.leancrew.com/all-this/2007/06/album-art-with-geektool/

still havent found anything on a facebook geeklet... :(
so if you have something that actually works, let me know! (and that doesnt use automator...)
 
Here it goes,

Code:
tell application "Finder"
	set AppleScript's text item delimiters to ""
	set power to every paragraph of (do shell script "networksetup -getairportpower Airport Extreme")
	
	if (power as string) contains "On" then
		set airport to do shell script "networksetup -getairportnetwork Airport Extreme"
		set AppleScript's text item delimiters to ": "
		set airport to text item 2 of airport as string
		set AppleScript's text item delimiters to ""
	else
		set airport to "Aiport Power Off"
	end if
	
	-- display signal strength
	set strength_curfolder to "mac hd:users:tom:documents:geektool:airport strength:current"
	set strength_pngfolder to "mac hd:users:tom:documents:geektool:airport strength"
	
	set AppleScript's text item delimiters to ""
	set strength to (do shell script "/System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport --getinfo")
	
	if (count of every paragraph of (strength as string)) is greater than 2 then
		
		set strength to paragraph 1 of (strength as string)
		
		set AppleScript's text item delimiters to "-"
		set strength to text item 2 of strength
		set AppleScript's text item delimiters to ""
		
		
		set strength_percent to character 1 of (((strength / 96) * 3) as string)
		
		
		--	display dialog ((strength / 96) * 3)
		if (name of item 1 of folder strength_curfolder) as string is not equal to ((strength_percent as string) & ".png") then
			move item 1 of folder strength_curfolder to folder strength_pngfolder
			move item (strength_pngfolder & ":" & (strength_percent as string) & ".png") to folder strength_curfolder
		end if
	else
		if (name of item 1 of folder strength_curfolder) as string is not equal to ("00.png") then
			move item 1 of folder strength_curfolder to folder strength_pngfolder
			move item (strength_pngfolder & ":" & ("00.png")) to folder strength_curfolder
		end if
		
	end if
	
	--data voor geektool
	return airport
	
end tell

You need to change following paths in the applescript
1. strength_curfolder (this one goes to the folder with current image to be displayed)
2. strength_pngfolder (this one goes to the folder where all the images are located)

Geektool,
shell geeklet: osascript (unix path to script)
image geeklet: path to current image folder (not the image itself but just the folder where it's in)
example: in geektool you should see something like this "file://localhost/Users/tom/Documents/geektool/airport strength/current/"

What's your scale of displaying the current airport strength?
mine is 3 this means, I have 3 bars that will change according to the signal.
I only use the first character from my calculation so my files name are like this,
0.png (1 stripe), 1.png (2 stripes), 2.png (3 stripes (=good signal)), 00.png (0 stripes)
If you want an example you can check out my geektool setup

if you have questions then I'll be glad to answer
enjoy

Hey, Im running Geektool in Lion 10.7 and I run this script in the editor and it comes up with "error "Finder got an error: Airport is not a Wi-Fi interface.
** Error: Error obtaining wireless information." number 10"
I was just wondering if you knew why it did this, thankyou :)
 
hey guys. i really only know how to code html and css because i took a class on it. how would i be able to code something like the windows 8 tiles from here. i don't plan on switching back to windows but think it is a neat idea. any help?

http://www.unplggd.com/unplggd/roundup/geektool-151524

its the second image btw, not the default sand one

That second one that you want seems to be done on Mac OS X via geektool so I'd say it's definately doable. Not terribly difficult even, though it will be slightly time consuming to set up as you will have to have one or more scripts in each square.

First you would create the colored tiles, which to me could be done one of two ways. In Photoshop just create a cool background that looks just like that one you wanted, its really just colored arranged blocks (of course the downside of this is you can't go changing wallpapers all the time as the squares would be the wallpaper). So alternatively and a slightly better idea would be to use geektool to create colored blank boxes (by either displaying colored image files or by creating an empty shell command and changing its background to a solid color thereby replicating the blocks) and align them how you like on your desktop.

Once you have the background blocks sorted you would create a bunch of geektool scripts and then position them in the way that replicates that Windows setup. So say create one for CPU info and throw it in the top left one, create a RAM info one to put in the block below that, grab an iTunes script and throw it in the next block and so on.

So yes it is doable but with a bit of effort.
 
newbie questions

Hi guys,

Recently moved into the MAC world, did everything on windows, still finding my way on the mac...

I wanna personlise my desktop, did some searches and found geektool scripting. I'm a non-techie, so basicly asking for some help here...

I've seen some nice basic implementation of fading desktops related to battery power (gradient of an extra white layer on the desktop image, less batterypower means higher opacity). I found a script whick just displays the battery power as an percentage, but basicly wanna use that number as an input for the changing opacity.

Beside that: i would like to create 3 bars sliding, correspondent to the hours, minutes and seconds. (as a reference: http://kanellospap.deviantart.com/art/Stripes-clock-204214007?offset=0#comments )

Somebody can help me??
 
Status
Not open for further replies.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.