conky配置
background yes
#override_utf8_locale yes
#font WenQuanYi Zen Hei:size=12
#xftfont WenQuanYi Bitmap Song:size=9
use_xft yes
xftalpha 0.1
update_interval 1
#total_run_times 0
own_window yes
own_window_type normal #override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
#draw_shades yes
draw_outline yes
#draw_borders yes
#draw_graph_borders yes
minimum_size 220 5
maximum_width 300
alignment top_right
gap_x 5
gap_y 1
no_buffers yes
override_utf8_locale yes
#uppercase no
#out_to_console no
default_color blue
TEXT
${color purple}${exec whoami}@${exec hostname}$alignr$uptime
${color purple}kernel:$alignr$kernel
${color}$stippled_hr
${color orange}Time: ${time %H:%M}$alignr${time %Y.%m.%d}
${color blue}$stippled_hr${color purple}
Processes:$alignr$processes ($running_processes Running)
${color blue}$stippled_hr
${color purple}Highest CPU$alignr PID $CPU%
${color red}${top name 1}$alignr${top pid 1} ${top cpu 1}
${color orange}${top name 2}$alignr${top pid 2} ${top cpu 2}
${color purple}${top name 3}$alignr${top pid 3} ${top cpu 3}
${color purple}${top name 4}$alignr${top pid 4} ${top cpu 4}
${color purple}${top name 5}$alignr${top pid 5} ${top cpu 5}
${color purple}Highest MEM$alignr PID $Memperc%
${color red}${top_mem name 1}$alignr${top_mem pid 1} ${top_mem mem 1}
${color orange}${top_mem name 2}$alignr${top_mem pid 2} ${top_mem mem 2}
${color purple}${top_mem name 3}$alignr${top_mem pid 3} ${top_mem mem 3}
${color purple}${top_mem name 4}$alignr${top_mem pid 4} ${top_mem mem 4}
${color purple}${top_mem name 5}$alignr${top_mem pid 5} ${top_mem mem 5}
${color blue}$stippled_hr
${color purple}IP:$alignr${addr eth0}
${color orange}Download Speed$alignr${downspeed eth0}
Upload Speed:$alignr${upspeed eth0}
${color blue}$stippled_hr
${color purple}CPU:$alignr$cpu%
$cpubar
MEM: $mem$alignr$memperc%
$membar
SWAP: $swap$alignr$swapperc%
$swapbar
${color blue}$stippled_hr${color purple}
/root:$alignr${fs_used /}/${fs_size /}
${fs_bar 3,160 /}
/home:$alignr${fs_used /home}/${fs_size /home}
${fs_bar 3,160 /home}
${color purple2}
Disk Read:${alignr}$diskio_read
Disk Write:${alignr}$diskio_write
#override_utf8_locale yes
#font WenQuanYi Zen Hei:size=12
#xftfont WenQuanYi Bitmap Song:size=9
use_xft yes
xftalpha 0.1
update_interval 1
#total_run_times 0
own_window yes
own_window_type normal #override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
#draw_shades yes
draw_outline yes
#draw_borders yes
#draw_graph_borders yes
minimum_size 220 5
maximum_width 300
alignment top_right
gap_x 5
gap_y 1
no_buffers yes
override_utf8_locale yes
#uppercase no
#out_to_console no
default_color blue
TEXT
${color purple}${exec whoami}@${exec hostname}$alignr$uptime
${color purple}kernel:$alignr$kernel
${color}$stippled_hr
${color orange}Time: ${time %H:%M}$alignr${time %Y.%m.%d}
${color blue}$stippled_hr${color purple}
Processes:$alignr$processes ($running_processes Running)
${color blue}$stippled_hr
${color purple}Highest CPU$alignr PID $CPU%
${color red}${top name 1}$alignr${top pid 1} ${top cpu 1}
${color orange}${top name 2}$alignr${top pid 2} ${top cpu 2}
${color purple}${top name 3}$alignr${top pid 3} ${top cpu 3}
${color purple}${top name 4}$alignr${top pid 4} ${top cpu 4}
${color purple}${top name 5}$alignr${top pid 5} ${top cpu 5}
${color purple}Highest MEM$alignr PID $Memperc%
${color red}${top_mem name 1}$alignr${top_mem pid 1} ${top_mem mem 1}
${color orange}${top_mem name 2}$alignr${top_mem pid 2} ${top_mem mem 2}
${color purple}${top_mem name 3}$alignr${top_mem pid 3} ${top_mem mem 3}
${color purple}${top_mem name 4}$alignr${top_mem pid 4} ${top_mem mem 4}
${color purple}${top_mem name 5}$alignr${top_mem pid 5} ${top_mem mem 5}
${color blue}$stippled_hr
${color purple}IP:$alignr${addr eth0}
${color orange}Download Speed$alignr${downspeed eth0}
Upload Speed:$alignr${upspeed eth0}
${color blue}$stippled_hr
${color purple}CPU:$alignr$cpu%
$cpubar
MEM: $mem$alignr$memperc%
$membar
SWAP: $swap$alignr$swapperc%
$swapbar
${color blue}$stippled_hr${color purple}
/root:$alignr${fs_used /}/${fs_size /}
${fs_bar 3,160 /}
/home:$alignr${fs_used /home}/${fs_size /home}
${fs_bar 3,160 /home}
${color purple2}
Disk Read:${alignr}$diskio_read
Disk Write:${alignr}$diskio_write