代码: 全选
background yes
use_xft yes
xftfont Tahoma:size=8
xftalpha 0.8
text_buffer_size 2048
update_interval 1
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type override
double_buffer yes
minimum_size 180 0
draw_shades no
draw_outline no
draw_borders no
stippled_borders no
border_margin 5
border_width 1
default_color C9C5BD
own_window_colour white
alignment top_right
gap_x 10
gap_y 10
no_buffers yes
uppercase no
color0 555753 # серый
color1 f57900 # оранжевый
color2 fcaf3e # светло оранжевый
color3 3465a4 # синий
color4 729fcf # голубой
color5 73d216 # светло зелёный
color6 2e3436 # чёрный
color7 cc0000 # красный
color8 babdb6 # светло серый
color9 eeeeec # почти белый
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer none
TEXT
#Календарь ${hr}
${color4}${goto 10}${font DejaVu Sans Mono:size=44}${time %H}${font DejaVu Sans Mono:size=20}${voffset -25}'${time %M}${font DejaVu Sans Mono:size=8}${voffset -12}${time %S}
${color3}${goto 85}${voffset 10}${font :size=8}${time %A}
${color3}${goto 85}${voffset 1}${font :size=8}${time %d %B %Y}
${voffset 11}${alignc}${color}${font VeraSansYuanTiMono:size=8}${execpi 300 export LC_TIME=C; DJS=`date +%_d`; cal | sed '/./!d;1s/ //g;2,8s/^/ /;:a;7,8s/^.\{1,20\}$/& /;ta;s/ '"$DJS"'/ ${font VeraSansYuanTiMono:style=Bold:size=8}${color #EE6363}'"$DJS"'${font VeraSansYuanTiMono:size=8}${color}/'}
${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0448 --datatype=CN}
${font Weather:size=44}${color gold}${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0116 --datatype=WF}${font}${color}${voffset -20}${offset 18}${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0448 --datatype=CC}${offset 10}${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0448 --datatype=HT}${offset 10}${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0448 --datatype=WS} ${font Arrows:size=10}${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0448 --datatype=BF}$font
${offset 60}Sol: ${color}${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0448 --datatype=SR}-${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0448 --datatype=SS}
${font Weather:size=26}${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0448 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${execi 3600 python ~/conkyrc/conkyForecast.py --location=CHXX0448 --datatype=HT --startday=1 --endday=4 --spaces=11}
${color white}NETWORK ${hr 1}${color}
Down ${downspeed eth0} k/s ${alignr}Up ${upspeed eth0} k/s
${downspeedgraph eth0 25,107} ${alignr}${upspeedgraph eth0 25,107}
Total ${totaldown eth0} ${alignr}Total ${totalup eth0}
${color white}SYSTEM ${hr 1}${color}
CPU1 ${alignr}${cpu cpu1}%
${cpubar 4 cpu1}
CPU2 ${alignr}${cpu cpu2}%
${cpubar 4 cpu2}
CPU3 ${alignr}${cpu cpu3}%
${cpubar 4 cpu3}
CPU4 ${alignr}${cpu cpu4}%
${cpubar 4 cpu4}
Ram ${alignr}$mem / $memmax ($memperc%)
${membar 4}
swap ${alignr}$swap / $swapmax ($swapperc%)
${swapbar 4}
Battery ${alignr} ${battery} / $battery ($battery_percent%)
${battery_bar 4}
<search ver="3.0"><loc id="CHXX0448" type="1">Hefei, China</loc></search>
loc id 就是你城市的id
字体和weatherforecast 的phyton脚本可以在这个帖子里下到
viewtopic.php?f=24&t=185454
把所有的location都改成你的
好了,enjoy!