2 override_utf8_locale yes
11 own_window_type override
12 own_window_transparent yes
13 own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
18 draw_graph_borders yes
31 default_color lightgrey
32 default_shade_color black
33 default_outline_color grey70
38 ${if_mpd_playing} [ ${mpd_status} - ${mpd_elapsed}/${mpd_length} ] ${scroll 50 5 ${mpd_smart}} | ${endif} \
39 ${execi 600 curl -s --connect-timeout 30 "http://wap.weather.com.cn/data/sk/101020100.html" >/tmp/current }${execi 6000 curl -s --connect-timeout 30 "http://m.weather.com.cn/data/101020100.html" >/tmp/forcast } \
40 ${color slate grey}${font LiHei Pro:size=9}上海: ${color}${execi 600 sed 's/^.*"img_title_single":"//' /tmp/forcast | sed 's/",".*$//' } ${execi 600 sed 's/^.*"temp":"//' /tmp/current | sed 's/",".*$//' }℃ ${execi 600 sed 's/^.*"WD":"//' /tmp/current | sed 's/",".*$//' }, ${execi 600 sed 's/^.*"time":"//' /tmp/current | sed 's/",".*$//' } \
41 ${color slate grey} ${font LiHei Pro:size=9}今日: ${color}${execi 600 sed 's/^.*"weather1":"//' /tmp/forcast | sed 's/",".*$//' } ${execi 600 sed 's/^.*"temp1":"//' /tmp/forcast | sed 's/",".*$//' }${color slate grey} ${font LiHei Pro:size=9} \
42 ${font LiHei Pro:size=9}明日: ${color}${execi 600 sed 's/^.*"weather2":"//' /tmp/forcast | sed 's/",".*$//' } ${execi 600 sed 's/^.*"temp2":"//' /tmp/forcast | sed 's/",".*$//' }${color slate grey}${font LiHei Pro:size=9} \
43 ${font LiHei Pro:size=9}后日: ${color}${execi 600 sed 's/^.*"weather3":"//' /tmp/forcast | sed 's/",".*$//' } ${execi 600 sed 's/^.*"temp3":"//' /tmp/forcast | sed 's/",".*$//' }${color slate grey}${font LiHei Pro:size=9} | \
44 ${color slate grey}Kernel: ${color}$kernel | \
45 ${color slate grey}${font}Processes: $processes($running_processes) | \
46 IO Read: $diskio_read | \
47 IO Write: $diskio_write | \
48 NET Down: ${color}${downspeed enp3s0}${color slate grey}/ ${totaldown enp3s0} | NET Up ${color}${upspeed enp3s0}${color slate grey}/ ${totalup enp3s0}