chicano69természetesen
${color red}${font Aerial:style=Bold:pixelsize=14}G${color white}Mail: ${color blue} ${color blue}${texeci 60 python /etc/conky/gmail.py} ${color}új levél.${font Snap.se:size=3}
a gmail.py tartalma:
import os
import string
#Enter your username and password below within double quotes
# eg. username="username" and password="password"
username="username"
password="password"
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,"")
index2=string.find(msg,"")
fc=int(msg[index+11:index2])
if fc==0:
print "nincs"
else:
print str(fc)
Bocs hogy nem a fájlokat töltöttem fel, most így volt egyszerűbb!