浏览代码

update conkyrc

pull/1/head
10sr 12 年前
父节点
当前提交
e0a391551c
共有 3 个文件被更改,包括 40 次插入27 次删除
  1. +35
    -25
      conkyrc
  2. +3
    -2
      conkyrc.2
  3. +2
    -0
      emacs.el

+ 35
- 25
conkyrc 查看文件

@@ -23,36 +23,46 @@ draw_outline no
draw_borders no
stippled_borders 0
border_width 1
default_color green # slategrey
default_shade_color lightgrey
default_outline_color black
alignment top_right
gap_x 20
gap_y 50

default_color green # slategrey
default_shade_color lightgrey
default_outline_color black
color0 white
color1 black
color2 green

no_buffers yes
uppercase no
format_human_readable yes

TEXT
${color white}${alignr}Arch Linux
${color white}${hr}
${color}host ${color black}:${color white} ${nodename}
${color}os ${color black}:${color white} ${sysname} ${kernel}
${color}freq ${color black}:${color white} ${freq 1}Mhz | ${freq 2}Mhz
${color}upt ${color black}:${color white} ${uptime}
#${color}btry ${color black}:${color white} ${battery}
#${color}btime${color black}:${color white} ${battery_time}
${color white}${hr}
${color}cpu ${color black}:${color white} ${cpu cpu0}% ${cpubar cpu0}
${color}ram ${color black}:${color white} ${memperc}% ${membar}
${color white}${stippled_hr}
${color}root ${color black}:${color white} ${fs_free /} ${fs_bar /}
${color}/tmp ${color black}:${color white} ${fs_free /tmp} ${fs_bar /tmp}
${color white}${stippled_hr}
${color}addr ${color black}:${color white} ${addr}
${color}down ${color black}:${color white} ${downspeed}/s
${color #888888}${downspeedgraph ff0000 0000ff}
${color}up ${color black}:${color white} ${upspeed}/s
${color #888888}${upspeedgraph 0000ff ff0000}
${color white}${hr}
#${color white}${alignr}${execi 900 cal -1}
${color0}${alignr}${conky_build_arch}
${color0}${alignr}${execi 30000 whoami}@${nodename}
${color0}${hr}
#${color2}host ${color1}:${color0} ${nodename}
${color2}uptm ${color1}:${color0} ${uptime}
${color2}lgin ${color1}:${color0} ${uptime}
#${color2}os ${color1}:${color0} ${sysname} ${kernel}
${color0}${stippled_hr}
${color2}freq ${color1}:${color0} ${freq 1}Mhz | ${freq 2}Mhz
${color2}cpu ${color1}:${color0} ${cpu cpu0}% ${cpubar cpu0}
#${color2}btry ${color1}:${color0} ${battery}
#${color2}btime${color1}:${color0} ${battery_time}
${color0}${hr}
${color2}ram ${color1}:${color0} ${memperc}% ${membar}
${color2}swap ${color1}:${color0} None
${color0}${stippled_hr}
${color2}root ${color1}:${color0} ${fs_free /} ${fs_bar /}
${color2}/tmp ${color1}:${color0} ${fs_free /tmp} ${fs_bar /tmp}
${color0}${hr}
${color2}addr ${color1}:${color0} ${addr}
${color0}${stippled_hr}
${color2}down ${color1}:${color0} ${downspeed eth0}/s
${color #888888}${downspeedgraph eth0 ff0000 0000ff}
${color2}up ${color1}:${color0} ${upspeed eth0}/s
${color #888888}${upspeedgraph eth0 0000ff ff0000}
${color0}${hr}
#${color0}${alignr}${execi 900 cal -1}

+ 3
- 2
conkyrc.2 查看文件

@@ -35,5 +35,6 @@ format_human_readable yes

TEXT

${color yellow}/var/log/dmesg.log:
${color white}${tail /var/log/dmesg.log 15}
${color yellow}$$ tail -f /var/log/everything.log
${color white}${tail /var/log/everything.log 30}
${time %b %d %T}

+ 2
- 0
emacs.el 查看文件

@@ -769,6 +769,8 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB."
'my-frame-buffer-add)
(add-hook 'eshell-mode-hook
'my-frame-buffer-add)
(add-hook 'Man-mode-hook
'my-frame-buffer-add)

(add-hook 'kill-buffer-hook
'my-frame-buffer-remove)


正在加载...
取消
保存