最近换成KDE,不太需要这个东西。但是把配置留在这里一下
alignment bottom_middle
gap_x 95
gap_y 30
use_xft yes
xftfont DejaVu Sans Mono:size=9
#########################################
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer yes
#use_xft no
# Update interval in seconds
update_interval 3.0
# Minimum size of text area
# minimum_size 250 5
# Draw shades?
draw_shades no
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
font arial
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
# stippled_borders 3
# border margins
# border_margin 9
# border width
# border_width 10
# Default colors and also border colors, grey90 == #e5e5e5
default_color grey
own_window_colour brown
own_window_transparent yes
#Shortens units to a single character (kiB->k, GiB->G, etc.)
short_units yes
# stuff after ‘TEXT’ will be formatted on screen
TEXT
$color
${color orange}CPU ${hr 2}$color
${freq}MHz $cpubar
${color orange}MEMORY / DISK ${hr 2}$color
RAM: ${mem}/${memmax} ${membar 6}$color
Root: ${fs_used /}/ ${fs_size /}${fs_bar 6 /}$color
${color orange}wlan0 (${addr wlan0}) ${hr 2}$color
Down: $color${downspeed wlan0} ${alignr}Up: ${upspeed wlan0}
${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph wlan0
25,140 000000 00ff00}$color
Total: ${totaldown wlan0} ${alignr}Total: ${totalup wlan0}
${color orange}eth0 (${addr eth0}) ${hr 2}$color
Down: $color${downspeed eth0} ${alignr}Up: ${upspeed eth0}
${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph eth0
25,140 000000 00ff00}$color
Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}