70 lines
2.5 KiB
Text
70 lines
2.5 KiB
Text
lua_load ~/.conky/box.lua
|
|
background yes
|
|
use_xft yes
|
|
xftfont terminus:123:size=8
|
|
xftalpha 0.1
|
|
update_interval 2.0
|
|
total_run_times 0
|
|
#own_window yes
|
|
#own_window_type normal
|
|
#own_window_transparent yes
|
|
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
|
|
double_buffer yes
|
|
minimum_size 250 5
|
|
maximum_width 400
|
|
draw_shades no
|
|
draw_outline no
|
|
draw_borders no
|
|
draw_graph_borders no
|
|
default_color gray
|
|
default_shade_color red
|
|
default_outline_color green
|
|
alignment top_right
|
|
gap_x 10
|
|
gap_y 42
|
|
no_buffers yes
|
|
uppercase no
|
|
cpu_avg_samples 2
|
|
net_avg_samples 1
|
|
override_utf8_locale no
|
|
use_spacer yes
|
|
lua_draw_hook_pre main_box
|
|
|
|
TEXT
|
|
${font Arial:size=20}${color Tan1}${alignc}GNU${color RoyalBlue}LINUX$font
|
|
$alignc${color Tan1}$nodename
|
|
|
|
${font Arial:bold:size=10}${color Tan1}SYSTEM ${color RoyalBlue}${voffset -2}${hr 2}
|
|
$font${color SlateGray}$sysname $kernel $alignr $machine
|
|
Intel Pentium 4 $alignr${freq_g cpu0}Ghz
|
|
Uptime $alignr${uptime}
|
|
File System $alignr${fs_type}
|
|
|
|
${font Arial:bold:size=10}${color Tan1}USAGE ${color RoyalBlue}${voffset -2}${hr 2}
|
|
$font${color SlateGray}CPU1 $alignr${cpu cpu1}% ${cpubar cpu1 7,170}
|
|
$font${color SlateGray}MEM $alignr${memperc}% ${membar 7,170}
|
|
$font${color SlateGray}SWAP $alignr${swapperc}% ${swapbar 7, 170}
|
|
|
|
${font Arial:bold:size=10}${color Tan1}HDD ${color RoyalBlue}${voffset -2}${hr 2}
|
|
${font}${color SlateGray}Write: $alignr$diskio_write
|
|
Read: $alignr$diskio_read
|
|
|
|
${color SlateGray}/ $alignc$fs_used / $fs_size $alignr${fs_free_perc}%
|
|
${fs_bar}
|
|
$font${color SlateGray}/boot $alignc${fs_used /boot} / ${fs_size /boot} $alignr${fs_free_perc /boot}%
|
|
${fs_bar /boot}
|
|
$font${color SlateGray}/home $alignc${fs_used /home} / ${fs_size /home} $alignr${fs_free_perc /home}%
|
|
${fs_bar /home}
|
|
|
|
${font Arial:bold:size=10}${color Tan1}TOP PROCESS ${color RoyalBlue}${voffset -2}${hr 2}
|
|
${color SlateGray}$font${top name 1}${alignr}${top cpu 1}%
|
|
|
|
${font Arial:bold:size=10}${color Tan2}NETWORK ${color RoyalBlue}${voffset -2}${hr 2}
|
|
$font${color SlateGray}Active interface:$alignr$gw_iface
|
|
$font${color SlateGray}Active IP address: $alignr$addr
|
|
|
|
Download speed: $alignr${downspeed eth0}
|
|
Upload speed: $alignr${upspeed eth0}
|
|
|
|
Downloaded: $alignr${totaldown eth0}
|
|
Uploaded: $alignr${totalup eth0}
|