I wanted something a bit 'prettier' than the usual text based options and this is what I ended up with:
References:
Took a little of the design stuff (especially the fonts) from
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.quicktweaks.com/2008/09/27/gmail-weather-beauty-right-on-your-ubuntu-desktop/#idc-cover"
linktext was:"here"
====================================
and all the weather code from
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.webupd8.org/2011/09/htc-like-clock-weather-conky.html"
linktext was:"here"
====================================
.
First you'll need to install Conky Forcast (it's in the repositories). Very handy for getting weather in my conky (nothing else worked). You'll need to change ASXX0001 to your location code. Look up your code at
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.weather.com/"
linktext was:"weather.com"
====================================
then do a find and replace from within geany (or your text editor of choice). You'll also need the
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://dl.getdropbox.com/u/83257/conkyfonts.zip"
linktext was:"fonts"
====================================
.
Code: Sorry about this, but Googledocs isn't working for me, and I didn't want to sign up for filesonic with what's going on in the states right now.
conkyrc
Code: Select all
# -- Conky settings -- #
background no
update_interval 1
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
double_buffer yes
no_buffers yes
text_buffer_size 2048
imlib_cache_size 0
# -- Window specifications -- #
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 10
border_outer_margin 10
minimum_size 310 310
maximum_width 310
alignment tr
gap_x -20
gap_y 30
# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
# -- Text settings -- #
use_xft yes
xftfont verdana:size=8
xftalpha 0.8
color1 014A7F
uppercase no
TEXT
${color 014A7F}${font Radio Space:size=14}${time %A %d %Y}
${font Radio Space:size=55}${time %H:%M}
${voffset -65}${goto 175}${font verdana:size12}${color 4A4D4A}${execi 600 conkyForecast --location=ASXX0001 --datatype=CN --refetch} ${execi 1800 conkyForecast --location=ASXX0001 -u
--datatype=HT}
${voffset 50}${font verdana :size=8}${color 014A7F}${goto 25}${execi 600 conkyForecast --location=ASXX0001 --datatype=HT -u --startday=1}/${color 4A4D4A}${execi 600 conkyForecast --location=ASXX0001 --datatype=LT -u --startday=1}${font verdana :size=8}${color 014A7F}${goto 76}${execi 600 conkyForecast --location=ASXX0001 --datatype=HT -u --startday=2}/${color 4A4D4A}${execi 600 conkyForecast --location=ASXX0001 --datatype=LT -u --startday=2} ${font verdana :size=8}${color 014A7F}${goto 130}${execi 600 conkyForecast --location=ASXX0001 --datatype=HT -u --startday=3}/${color 4A4D4A}${execi 600 conkyForecast --location=ASXX0001 --datatype=LT -u --startday=3} ${font verdana :size=8}${color 014A7F}${goto 180}${execi 600 conkyForecast --location=ASXX0001 --datatype=HT -u --startday=4}/${color 4A4D4A}${execi 600 conkyForecast --location=ASXX0001 --datatype=LT -u --startday=4}
${font verdana :size=8}${color 4A4D4A}${goto 25}${execi 600 conkyForecast --location=ASXX0001 --datatype=DW --shortweekday --startday=1}${font verdana :size=8}${color 4A4D4A}${goto 76}${execi 600 conkyForecast --location=ASXX0001 --datatype=DW --shortweekday --startday=2}${font verdana :size=8}${color 4A4D4A}${goto 130}${execi 600 conkyForecast --location=ASXX0001 --datatype=DW --shortweekday --startday=3}${font verdana :size=8}${color 4A4D4A}${goto 180}${execi 600 conkyForecast --location=ASXX0001 --datatype=DW --shortweekday --startday=4}
${voffset -26}${font verdana :size=8}${color 014A7F}${goto 234}${execi 600 conkyForecast --location=ASXX0001 --datatype=HT -u --startday=5}/${color 4A4D4A}${execi 600 conkyForecast --location=ASXX0001 --datatype=LT -u --startday=5}
${font verdana :size=8}${color 4A4D4A}${goto 234}${execi 600 conkyForecast --location=ASXX0001 --datatype=DW --shortweekday --startday=5}${execpi 600 conkyForecast --location=ASXX0001 --template=~/.vreme.template}
${color 014A7F}${font PizzaDude Bullets:size=14}J${voffset -2}${font}${goto 60}RAM:${goto 110}${voffset 1}${membar 6, 162}
${voffset -6}${font StyleBats:size=16}A${voffset -4}${font}${goto 60}CPU:${goto 110}${voffset 1}${cpubar 6, 162}
${voffset -9}${font StyleBats:size=16}8${voffset -4}${font}${goto 60}Battery:${goto 110}${execi 10 (acpi -b | awk)}${voffset 1}${battery_bar 6, 162 BAT1}
${voffset -9}${font StyleBats:size=16}j${voffset -4}${font}${goto 60}HDD:${goto 110}${fs_bar 6, 162}
Code: Select all
${image [--datatype=WI] -p 80,10 -s 113x113}
${image [--datatype=WI --startday=1] -p 2,128 -s 43x43}
${image [--datatype=WI --startday=2] -p 54,128 -s 43x43}
${image [--datatype=WI --startday=3] -p 106,128 -s 43x43}
${image [--datatype=WI --startday=4] -p 158,128 -s 43x43}
${image [--datatype=WI --startday=5] -p 210,128 -s 43x43}