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.