Browsing this Thread:   1 Anonymous Users






conky peizhi
#1
Just popping in
Just popping in


See User information
conky.config = {
alignment = 'top_right',
background = false,
border_width = 1,
cpu_avg_samples = 2,
net_avg_samples = 2,
use_xft = true,
-- Xft font when Xft is enabled
font = 'Sans:size=9',
-- Text alpha when using Xft
xftalpha = 0.8,
default_color = 'black',
default_outline_color = 'white',
default_shade_color = 'white',
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
gap_x = 70,
gap_y = 30,
minimum_height = 5,
minimum_width = 5,

no_buffers = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,

double_buffer = true,
-- Create own window instead of using desktop (required in nautilus)
own_window = true,
own_window_class = 'Conky',
own_window_argb_visual = true,
own_window_transparent = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_type = 'desktop',
stippled_borders = 0,
update_interval = 2.0,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false
}

conky.text = [[

${color #53FF53}${font WenQuanYi Micro Hei:size=12}时间记忆${font}${color}${color #8AE234}${hr 1}${color}
${font Terminus:size=22}${color #53FF53}${time %H:%M:%S}${font}${alignr}记忆,憔悴de${color}
${color #53FF53}${alignc}${font Terminus:size=11}${time %b %d %a}${color}${font}
${color #53FF53}系统信息:${color}${color #8AE234}${hr 1}${color}
${color #53FF53}宿主信息:${color}${alignr}${color #8AE234}$nodename${color}
${color #53FF53}内核信息:${color}${alignr}${color #8AE234}$kernel${color}
${color #53FF53}开机时长:${color}${alignr}${color #8AE234}$uptime${color}

${font Terminus:size=11}${color #53FF53}${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- | sed 's#Processor ##'}${font Terminus:size=11}${color}
${color #8AE234}${hr 1}${color}
${color #53FF53}CPU1 ${cpu cpu1}%${alignr}CPU2 ${cpu cpu2}%${color}

${voffset -6}${cpugraph cpu1 15,115 000000 ff4500 } $alignr${offset -2}${cpugraph cpu2 15,115 000000 436eee}
${color #53FF53}CPU3 ${cpu cpu3}%${alignr}CPU4 ${cpu cpu4}%${color}

${voffset -6}${cpugraph cpu3 15,115 000000 ff4500 } $alignr${offset -2}${cpugraph cpu4 15,115 000000 436eee}
${color #53FF53}Ram ${color}${alignr}${color #8AE234}$mem / $memmax ($memperc%)${color}
${color #8AE234}${membar 4}${color}
${color #53FF53}swap ${color}${alignr}${color #8AE234}$swap / $swapmax ($swapperc%)${color}
${color #8AE234}${swapbar 4}${color}
${color #53FF53}Highest CPU ${color}${alignc}${color #8AE234} CPU%${alignr}PID${color}
${color #53FF53}${top name 1}${color}${alignc}${color #8AE234}${top cpu 1}${color}${color #8AE234}${alignr}${top pid 1}${color}
${color #53FF53}${top name 2}${color}${alignc}${color #8AE234}${top cpu 2}${color}${color #8AE234}${alignr}${top pid 2}${color}
${color #53FF53}${top name 3}${color}${alignc}${color #8AE234}${top cpu 3}${color}${color #8AE234}${alignr}${top pid 3}${color}
${color #53FF53}Highest MEM ${color}${alignc}${color #8AE234} MEM%${alignr}PID${color}
${color #53FF53}${top_mem name 1}${color}${alignc}${color #8AE234}${top_mem mem 1}${alignr}${top_mem pid 1}${color}
${color #53FF53}${top_mem name 2}${color}${alignc}${color #8AE234}${top_mem mem 2}${alignr}${top_mem pid 2}${color}
${color #53FF53}${top_mem name 3}${color}${alignc}${color #8AE234}${top_mem mem 3}${alignr}${top_mem pid 3}${color}
${color #53FF53}${font}文件系统${color #8AE234}${hr 1}${color}
${color #53FF53}Root:${color} ${alignr}${color #8AE234}${fs_free /} ${color} @ ${color #8AE234}${fs_size /}${color}
${color #8AE234}${fs_bar 4 /}${color}
${color #53FF53}Home:${color} ${alignr}${color #8AE234}${fs_free /home} ${color} @ ${color #8AE234}${fs_size /home}${color}
${color #8AE234}${fs_bar 4 /home}${color}
${color #53FF53}${font}WIFI流量${color #8AE234}${hr 1}${color}
${color #8AE234}Down ${downspeed wlp15s0} k/s ${alignr}Up ${upspeed wlp15s0} k/s${color}
${color #8AE234}${downspeedgraph wlp15s0 15,115} ${alignr}${upspeedgraph wlp15s0 15,115}${color}
${color #8AE234}Total ${totaldown wlp15s0} ${alignr}Total ${totalup wlp15s0}${color}
${color #53FF53}${font}WIRE流量${color #8AE234}${hr 1}${color}
${color #8AE234}Down ${downspeed enp8s0} k/s ${alignr}Up ${upspeed enp8s0} k/s${color}
${color #8AE234}${downspeedgraph enp8s0 15,115} ${alignr}${upspeedgraph enp8s0 15,115}${color}
${color #8AE234}Total ${totaldown enp8s0} ${alignr}Total ${totalup enp8s0}${color}


]]

Posted on: 2/18 20:31
Top


Re: conky peizhi
#2
Just popping in
Just popping in


See User information
eadb0edfd036f0d47163b0caabae6d328eb1604f0805a4b433778438d2803e5b *ideaIC-2018.3.4-no-jdk.tar.gz

Posted on: 2/21 14:47
Top








Themes

(2 themes)
Login
Username:

Password:


Lost Password?
Register now!
Categories