My .conkyrc
conky是个非常棒的 系统监视器..
不过好的软件当然也需要好的配置文件。。
昨天装好了 Ubuntu10.04…(本来是beta的 格了重新装了..)
然后就配了一下conky 感觉这会是我配的比较好的一次了
配色上可能很差劲- -..见谅。。。
.conkyrc
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
| background yes
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
override_utf8_locale yes
use_xft yes
xftfont 微软雅黑:size=10
xftalpha 0.8
update_interval 1
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar
double_buffer yes
minimum_size 260 5
maximum_width 200
draw_shades no
draw_outline no
draw_borders no
stippled_borders no
border_margin 4
border_width 1
default_color white
default_shade_color white
default_outline_color white
gap_x 5
gap_y 35
alignment top_right
use_spacer none
no_buffers yes
uppercase no
TEXT
${font 微软雅黑:size=30}${time %H:%M}${font}${alignr}${time %B} ${time %Y}
${font DejaVu Sans Mono:size=8}${color}${execpi 60 DJS=`date +%_d`; cal | sed ‘1d’ | sed ‘/./!d’ | sed ’s/$/ /’ | fold -w 21 | sed -n ‘/^.\{21\}/p’ | sed ’s/^/${alignc} /’ | sed /” $DJS “/s/” $DJS “/” “‘${color 6796C8}’”$DJS”‘${color}’” “/}${font}
${font 微软雅黑:size=10}${color green}系统信息 ${hr 1}${color}
${color}内核: ${alignr}$kernel
${color}用户名: ${alignr}${exec whoami}
${color}运行时间: ${color #dcff82}${alignr}$uptime
${font 微软雅黑:size=10}${color green}CPU ${hr 1}${color}
${color}CPU温度: ${alignr}${exec sensors | grep -i 'CPU Temperature' | cut -c21-22}°C
CPU I ${cpu cpu1}% CPU II ${cpu cpu2}%
${color #dcff82}${cpubar 4,98 cpu1} ${color #dcff82}${cpubar 4,98 cpu2}
CPU III ${cpu cpu3}% CPU IV ${cpu cpu4}%
${color #dcff82}${cpubar 4,98 cpu3} ${color #dcff82}${cpubar 4,98 cpu4}
${color white}内存使用:${alignr}$mem /$memmax
${color #dcff82}${membar 4,200}
${color white}进程: ${color #dcff82}${alignr}$processes ($running_processes running)
${color white}最大内存使用${alignr} CPU% MEM%
${color #dcff82}${top_mem name 1}${alignr}${top_mem cpu 1}${top_mem mem 1}
${top_mem name 2}${alignr}${top_mem cpu 2}${top_mem mem 2}
${top_mem name 3}${alignr}${top_mem cpu 3}${top_mem mem 3}
${color green}网络信息 ${hr 1}${color}
${color white}IP地址: ${color #dcff82}${addr ppp0}${color}
${voffset 1}${color white}上传:${color #dcff82} ${upspeedf eth0} KB/s ${voffset 1}${color white}下载:${color dcff82} ${downspeedf eth0} KB/s
${upspeedgraph eth0 16,95 dcff82 ffffff} ${downspeedgraph eth0 16,95 dcff82 ffffff}
${color white}统计:${color #dcff82}${totalup eth0} ${color white}统计:${color #dcff82}${totaldown eth0}
${color green}文件系统 ${hr 1}${color}
${color}硬盘温度: ${alignr}${exec sensors | grep -i 'MB Temperature' | cut -c21-22}°C
${color white}根分区: ${color}${alignr}${fs_free /} 可用/总 ${fs_size /}
${color #dcff82}${fs_bar 4 /}
${color white}用户分区: ${color}${alignr}${fs_free /home} 可用/总 ${fs_size /home}
${color #dcff82}${fs_bar 4 /home}
${color green}Nowplaying ${hr 1}${color}
$moc_song${alignr}$moc_artist
状态:$moc_state${alignr}$moc_curtime/$moc_totaltime
${alignr}$moc_rate
|