27

First attempt to create a geeklet. I'll upload the glet file if someone request it.

Clean

I try to make it as beautiful as I can too. You see 2 configurations examples in the following screenshots.

Complete

Gather many information : Software & Hardware. Disk, CPU, Memory and many more.

Configurable

I try to make a fully configurable geeklet, you can easily :

  • change color
  • change bar
  • size & column width
  • choose want you want to display or hide
    • Informations
    • CPU
    • Memory
    • Network
    • Weather
    • Disk
    • iTunes information
    • Stocks

For configuration, edit the primary part of the script :

# * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 

# Column size
c1=15 # title
c2=20 # bar size [preferably even number]
c3=6  # bar info
c4=15 # complement

# information to display
# available widget : information, weather, itunes, network, cpu_memory, battery, disks, stocks
widgets=('information' 'weather' 'itunes' 'network' 'cpu_memory' 'battery' 'disks' 'stocks' )

# Color options
default_color=$white
bar_begin=''
bar_empty_char='•'
bar_full_char='•'
bar_end=''
bar_empty_color=$black
bar_full_color=$white

# Stock options
stocks=('AAPL' 'AMD' 'GOOG')
stock_begin=''
stock_negative_empty_char='•'
stock_negative_full_char='•'
stock_positive_full_char='•'
stock_positive_empty_char='•'
stock_end=''
stock_negative_color=$red
stock_positive_color=$green

# Weather options
unit='metric'  # metric|imperial

# * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 

Bug

if you encounter any problem or bug please report it. I'll try to resolve it as soon as I can.

Dev

The file is not final, some part aren't finished yet, please take it into consideration.


Geeklet files to download

Comments

User Avatar
amlanpradhan 1771 days ago
Looks neat & cool! Can you share the glet please?
User Avatar
Noax 1771 days ago
I especially like the stockmeter done with dots.. really nice looking! Please share the glet :)
User Avatar
leitoo0 1770 days ago
@amlanpradhan & @Noax thanks :)

My MBP is being remplaced by apple because it was defective. At the time, I'am not able to upload the glet file. I'll do it as soon as I get my computer back (~ 5-7 days).
User Avatar
Noax 1760 days ago
How is it going with the uploading? Been waiting like crazy :D Feels like xmas again^^
User Avatar
bouffonbleu 1767 days ago
so nice
User Avatar
vegas23 1759 days ago
Looks good! Got an upload?
User Avatar
Ishmael 1738 days ago
This is awesome leitoo0. Is there any way you can upload the glet file? I sat with the code for a few hours but I just could not get it to work (not very experienced). If anybody else that has had success w/ it I'd appreciate some hints as well, as I'm sure many would. Cheers!
User Avatar
iemilyann 1729 days ago
Also wondering if the glet file could be uploaded. I'm new to GeekTool, but would love to use this tool!
User Avatar
realtingley 1662 days ago
For those asking for him to upload the glet:

- Open GeekTool

- Click and drag "Shell" onto your desktop

- Past in the bash script in the "command" section of the properties
User Avatar
MaorBenezri 1636 days ago
Awesome
User Avatar
ejleon 1509 days ago
How do you make weather fahrenheit and not celsius?
User Avatar
Smeej 1483 days ago
# Weather options

unit='metric' # metric|imperial

Change to:

# Weather options

unit='imperial' # metric|imperial
User Avatar
sor3765 1334 days ago
i copy and paste the whole thing in shell.... but it only show a portion of it on the desktop not the whole thing... any reasons why?
User Avatar
saulos 1220 days ago
the error is on line 270, change the line to be like this

WIFI_STRENGTH=$((WIFI_SIGNAL - WIFI_NOISE))

and if you want to speed up a little rem (#) the lines :

75,361,362,363

this eliminate also the "generated in" , bottom line
User Avatar
bunkmeister 881 days ago
how do you do indexes?

also how do you get rid of the date line?

is there a way to make it only for stocks?
User Avatar
bunkmeister 881 days ago
it keeps timing out with many stocks

Log in to comment or register here.