diff --git a/.conkyrc b/.conkyrc index abfb3eb..4f8172c 100644 --- a/.conkyrc +++ b/.conkyrc @@ -42,5 +42,5 @@ use_spacer none minimum_size 1680 0 TEXT -${alignc}Kernel: ${color D7D3C5}$kernel | ${color}Uptime: ${color D7D3C5}${uptime_short} | ${color }Down: ${color D7D3C5}${font}${downspeed eth0} Kb/s - ${color D7D3C5}${totaldown eth0} | ${color }Up: ${color D7D3C5}${upspeed eth0} Kb/s - ${color D7D3C5}${totalup eth0} | ${color }Root: ${color D7D3C5}${fs_free /} ${fs_bar 6,60 /} | ${color} Temps: ${color D7D3C5} ${execi 300 /home/mathieu/config/scripts/weather.sh "EUR|FR|FR012|PARIS"} | ${color} Gmail : ${color D7D3C5} ${execi 300 python ~/config/scripts/gmail.py} +${alignc}Kernel: ${color D7D3C5}$kernel | ${color}Uptime: ${color D7D3C5}${uptime_short} | ${color }Down: ${color D7D3C5}${font}${downspeed eth0} Kb/s - ${color D7D3C5}${totaldown eth0} | ${color }Up: ${color D7D3C5}${upspeed eth0} Kb/s - ${color D7D3C5}${totalup eth0} | ${color }Root: ${color D7D3C5}${fs_free /} ${fs_bar 6,60 /} | ${color} Temps: ${color D7D3C5} ${execi 300 /home/mathieu/config/scripts/weather.sh "EUR|FR|FR012|PARIS"} ${alignc}${color light grey}${time %a %D %k:%M} | ${color }Mem: ${color D7D3C5}$memperc% ${color D7D3C5} ${membar 6,80}${color D7D3C5} | ${color}hog:${color D7D3C5} ${top_mem name 1}${offset -25}${top_mem mem 1}%${color grey} | ${color}Cpu: ${color D7D3C5}${cpu}% ${color D7D3C5}${cpugraph 9,80 AEA08E 9F907D} ${color D7D3C5} | ${color}hog:${color D7D3C5} ${top name 1}${offset -25}${top cpu 1}% | ${color}tempCpu:${color D7D3C5} $acpitemp | ${color}battery:$color ${color D7D3C5}${battery_bar 4,50 BAT1} #| ${color}Users:${color D7D3C5}${user_names} diff --git a/scripts/gmail.py b/scripts/gmail.py deleted file mode 100755 index f0b6cf8..0000000 --- a/scripts/gmail.py +++ /dev/null @@ -1,18 +0,0 @@ -import os - -#Enter your username and password below within double quotes -# eg. username="username" and password="password" -username="" -password="" -com="wget -O - https://"+username+":"+password+"@mail.google.com/mail/feed/atom --no-check-certificate" - -temp=os.popen(com) -msg=temp.read() -index=msg.find("") -index2=msg.find("") -fc=int(msg[index+11:index2]) - -if fc==0: - print "0 new" -else: - print str(fc)+" new"