Bem o meu não tem nada de especial, aliás tou a ver se consigo optimizar o weather e o gmail e incluir o mpd :/
Código:
background no
font DejaVu Sans:size=9
use_xft yes
xftalpha 0.9
update_interval 3
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 220 5
maximum_width 110
draw_shades yes ### SHADOW ###
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white ### Text Color ###
default_shade_color black
default_outline_color green
alignment top_right
gap_x 15
gap_y 100
no_buffers yes
cpu_avg_samples 2
#mpd
mpd_host 127.0.0.1
mpd_port 6600
TEXT
Uptime: $alignr$uptime
CPU: ${alignr}${freq} MHz
${cpubar}
Running:${alignr}$processes
Ram ${alignr}$mem
swap ${alignr}$swap
Disco: ${alignr}${fs_free /home}
${fs_bar 2 /home}
GMail: ${alignr}${execi 300 python ~/scripts/gmail.py}
Weather:${alignr}${execi 1800 weatherget -f ~/scripts/.conkyweatherrc --station-id=POXX0066 --metric}
${downspeed eth0} k/s ${alignr} ${upspeed eth0} k/s
${downspeedgraph eth0 10,50} ${alignr}${upspeedgraph eth0 10,50}
${totaldown eth0} ${alignr}${totalup eth0}

gmail.py
Código:
import os
import string
#Enter your username and password below within double quotes
# eg. username="username" and password="password"
username="bolotas"
password="boascomoomilho"
com="wget -O - https://"+username+":"+password+"@mail.google.com/mail/feed/atom --no-check-certificate"
temp=os.popen(com)
msg=temp.read()
index=string.find(msg,"<fullcount>")
index2=string.find(msg,"</fullcount>")
fc=int(msg[index+11:index2])
if fc==0:
print "None"
else:
print str(fc)+" New"
.conkyweatherrc
Código:
def current():
print temp+temp_units
print cloud_type
Marcadores