conky的配置也保存一下,效果比较简洁,就在底部有一条来显示cpu,内存和硬盘的信息,想想我觉得可能还需要的是cpu的温度,这个后面看看有没有可能加上去。配置文件如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
alignment bottom_middle
background yes
border_width 1
cpu_avg_samples 2
default_color 222222
default_outline_color 222222
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont Sans Mono:size=8
gap_x 5
gap_y 0
minimum_size 1260 6
maximum_width 1260
net_avg_samples 2
double_buffers yes
own_window yes
out_to_console no
out_to_stderr no
extra_newline no
own_window no
own_window_class Conky
own_window_type desktop
own_window_transparent yes
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer left
show_graph_scale no
show_graph_range no
format_human_readable yes
TEXT
${color white}CPU: ${cpu}% ${cpubar cpu0 5,50} | CPU1: ${cpu cpu1}% ${cpubar cpu1 5,50} CPU2: ${cpu cpu2}% ${cpubar cpu2 5,50} CPU3: ${cpu cpu3}% ${cpubar cpu3 5,50} CPU4: ${cpu cpu4}% ${cpubar cpu4 5,50}|\
${color white}RAM:${color white} ${memperc}% ${membar 5,50} |\
${color white}home: ${fs_used /home}/${fs_size /home}${fs_bar 5,50 /home} |\
${color white}root: ${fs_used /}/${fs_size /}${fs_bar 5,50 /}

总体效果图如下,注意看底部。。
conky


Comments