Показать сообщение отдельно

Старый 28.12.2009, 05:48   #8
Троль
World GM
 
Аватар для Троль
 
Регистрация: 14.03.2009
Сообщения: 267
Троль  - великолепный выбор для заручения поддержкой
Вес репутации: 32
По умолчанию

Выложу свой конфиг. Нарма, твой конфиг
1) расчитан на 2 проца
2) не подходит для гнома
Код:
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_hints undecorated,below,skip_taskbar
background yes

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# fiddle with window
use_spacer yes
use_xft yes

# Update interval in seconds
update_interval 3.0

# Minimum size of text area
#minimum_size 500 5

# Draw shades?
draw_shades yes

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no

uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
stippled_borders 1

# border margins
border_margin 1

# border width
border_width 1

# Default colors and also border colors, grey90 == #e5e5e5
default_color white
default_shade_color black
default_outline_color white

own_window_colour brown
own_window_transparent yes

# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 10
gap_y 170

#MPD
mpd_host localhost
mpd_port 6600

# stuff after 'TEXT' will be formatted on screen

override_utf8_locale yes
xftfont Terminus:size=8
xftalpha 0.8

TEXT

${offset 40}${color slate grey}${time %a, } ${color }${time %e %B %G}
${offset 40}${color slate grey}Time: ${color }${time %H:%M:%S}
${offset 40}${color slate grey}UpTime: ${color }$uptime
${offset 40}${color slate grey}CPU:${color } $cpu% ${acpitemp}C
${offset 40}${cpugraph 20,130 000000 ffffff}
${offset 40}${color slate grey}Load: ${color }$loadavg
${offset 40}${color slate grey}Processes: ${color }$processes  
${offset 40}${color slate grey}Running:   ${color }$running_processes

${offset 40}${color slate grey}Highest CPU:
${offset 40}${color #ddaa00} ${top name 1}${top_mem cpu 1}
${offset 40}${color lightgrey} ${top name 2}${top cpu 2}
${offset 40}${color lightgrey} ${top name 3}${top cpu 3}
${offset 40}${color lightgrey} ${top name 4}${top cpu 4}

${offset 40}${color slate grey}Highest MEM:
${offset 40}${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
${offset 40}${color lightgrey} ${top_mem name 2}${top_mem mem 2}
${offset 40}${color lightgrey} ${top_mem name 3}${top_mem mem 3}
${offset 40}${color lightgrey} ${top_mem name 4}${top_mem mem 4}

${offset 40}${color slate grey}MEM:  ${color } $memperc% $mem/$memmax
${offset 40}${membar 3,100}
${offset 40}${color slate grey}SWAP: ${color }$swapperc% $swap/$swapmax
${offset 40}${swapbar 3,100}

${offset 40}${color slate grey}ROOT:    ${color }${fs_free /}/${fs_size /}
${offset 40}${fs_bar 3,100 /}
${offset 40}${color slate grey}NET: 
${offset 40}${color}Up: ${color }${upspeed eth0} k/s
${offset 40}${upspeedgraph eth0 20,130 000000 ffffff}
${offset 40}${color}Down: ${color }${downspeed eth0}k/s${color}
${offset 40}${downspeedgraph eth0 20,130 000000 ffffff}
${offset 40}${color slate grey}MPD:${offset 10}${color slate grey}${mpd_artist}${color}-${mpd_title}#  ${color slate grey}Elspsed: ${color}${mpd_elapsed}
${offset 40}${color slate grey}WoWAcadem Local:  ${execi 10 nc -z 10.168.31.16:8085 && echo "Down" || echo "Up"}
__________________
Троль вне форума   Ответить с цитированием