conky配置一枚
看到网上花花绿绿的conky的配置,其实这个配置还是显得很简单,但是我还是喜欢简单的,该有的信息都有了,就差天气和RSS,其实是 因为地方问题,否则我也会加的。可是就是因为地方问题还是没添加,之前也放了一个配置在这边,相比之下那个配置就显得着实有些单薄了,不过自己用完全看个 人喜好,曾将见过最简单的一个配置就一行内容,也见过开启很多conky的配置,但是个人还是喜欢这种一个conky解决一切问题的方式,节省资源,虽然 现在的资源是如此的不起眼,好像永远也永不完一样……(这篇问题其实早已完成,但不知道为什么仅仅是十几个小时的时间就成了一篇草稿,所以只有重新些一次了)
文章来源:微笑
PS.虽然遇到了点小问题但是这个blog真的是很好的,所以我还是继续用他来些我的生活。
恩,应该截个小图就好了,忘记了。
注意:这个是在英文环境下的,中文环境就不知道啥效果了,估计会有点问题吧,大家可以根据自己的需要进行修改,修正。
以下是配置代码:
background yes use_xft yes xftfont Terminus:size=9 xftalpha 0.8 update_interval 1.0 total_run_times 0 own_window yes own_window_type override own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes minimum_size 250 10 maximum_width 200 draw_shades no draw_outline no draw_borders no draw_graph_borders yes #default_color white #default_color AD7FA8 default_color AD7FA8 default_shade_color black alignment top_right gap_x 10 gap_y 30 no_buffers yes cpu_avg_samples 2 override_utf8_locale yes uppercase no use_spacer none TEXT ${alignc 27}${font DotMatrix:style=Bold:size=18}${time %H:%M}${font DotMatrix:size=10}:${time %S}${font} ${alignc}${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} System: ${alignr} ${execi 99999 lsb_release -d -s -c | tr -s "\n" " "} Kernel: $alignr $kernel Uptime: $alignr $uptime ${color #8AE234}${font 321impact:size=10}SYSTEM${font}$stippled_hr${color} ${color #4E9A06}Battery: ${alignr 5}${battery_bar 8,100 BAT1} BatteryTime: ${alignr} ${battery_time BAT1} #${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- | sed 's#Processor ##'} CPU1: ${cpu cpu1}% ${alignr}CPU2: ${cpu cpu2}% ${cpubar 4,95 cpu1}${alignr}${cpubar 4,95 cpu2} RAM: $alignr $mem/$memmax ${membar 3} Swap: $alignr $swap / $swapmax ${swapbar 3}${color} ${color #EF2929}${font 321impact:size=10}Temp${font}$stippled_hr${color} ${color #CC0000} CPU: ${alignr}${acpitemp}C GPU: ${alignr}${execi 30 nvidia-settings -q [gpu:0]/GPUCoreTemp | grep '):' | awk '{print $4}' | sed 's/\.//'}C${color} ${color #729FCF}${font 321impact:size=10}HDD${font}$stippled_hr${color} ${color #3465A4}I/O: Write: $diskio_write ${alignr}Read: $diskio_read ${diskiograph_write 5,95} ${alignr}${diskiograph_read 5,95} ROOT: $alignr ${fs_free /} / ${fs_size /} ${fs_bar 3 /} HOME: $alignr ${fs_free /home} / ${fs_size /home} ${fs_bar 3 /home}${color} ${color #FCE94F}${font 321impact:size=10}Networks${font}$stippled_hr${color} ${color #C4A000}Down ${downspeed eth0} k/s ${alignr}Up ${upspeed eth0} k/s ${downspeedgraph eth0 10,95} ${alignr}${upspeedgraph eth0 10,95} Total ${totaldown eth0} ${alignr}Total ${totalup eth0}${color} ${color #34E2E2}${font 321impact:size=10}Top${font}$stippled_hr${color} ${color #06989A}Name ${alignr} PID CPU% MEM%${color} ${color #FB0808} ${top name 1} ${alignr} ${top pid 1} ${top cpu 1} ${top mem 1}$color ${color #F6620C} ${top name 2} ${alignr} ${top pid 2} ${top cpu 2} ${top mem 2}${color} ${color #F6E80C} ${top name 3} ${alignr} ${top pid 3} ${top cpu 3} ${top mem 3}${color} ${color #08CB2F} ${top name 4} ${alignr} ${top pid 4} ${top cpu 4} ${top mem 4} ${color #0DBCCE} ${top name 5} ${alignr} ${top pid 5} ${top cpu 5} ${top mem 5} ${color #2758CF} ${top name 6} ${alignr} ${top pid 6} ${top cpu 6} ${top mem 6} #$stippled_hr #Mem usage$color #${color #ddaa00} ${top_mem name 1} $alignr ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}$color # ${top_mem name 2} $alignr ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2} # ${top_mem name 3} $alignr ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}