#更具自己的喜欢改，很多华丽界面依赖包下载不到了，这种东西有点过时了，以前图像界面很丑 所以这个东西很流行
#开启UTF8编码支持 防止中文乱码
override_utf8_locale yes
#距离显示器右边的距离
gap_x 10
#距离显示器上边的距离
gap_y 10
#插件显示的宽度  个别进程名太长，又活跃会引起宽体闪烁 适当调宽就好
maximum_width 280
minimum_size 280 5
#-----------------------
background yes
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# X font when Xft is disabled, you can pick one with program    xfontsel
#font 7x12
#font 6x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Sans:size=9
own_window_argb_visual yes
#own_window_colour hotpink
# Text alpha when using Xft
xftalpha 0.8
# on_bottom yes
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#背景颜色
#own_window_type override
own_window_type normal
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders no
# border margins
border_margin 0
# border width
border_width 0
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
#-------------------------
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# none, xmms, bmp, audacious, infopipe (default is none)
# xmms_player bmp

TEXT
#######你的标题####################
${color #B23AEE}${font PizzaDude Bullets:size=16}S${font :size=12}   本机基本状态 $hr $font $color
#------系统信息----------------------------------------------------------------------------------------------------
${color #ffffff}${font :size=14}${time %p %A} ${time}
${color #8B0A50}${font OpenLogos:size=18}L${font :size=12}   系统信息 $hr $font
${color #BDB76B}${font :size=12}系统内核: ${alignr} $kernel ($machine)
${color #BDB76B}电脑名称: $alignr$nodename
${color #BDB76B}运行时间: $alignr$uptime
#------cpu信息----------------------------------------------------------------------------------------------------
${color #8B0A50}${font StyleBats:size=16}W${font :size=12}   CPU $hr $font $color
${color #B23AEE}${font :size=12}CPU使用率 ${freq}MHz: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${color #00CD00}活跃进程 $alignr PID $alignr $alignc CPU% $alignr MEM%
${color #BDB76B}${top name 1} $alignr ${top pid 1} $alignr ${top cpu 1} $alignr ${top mem 1}
${color #BDB76B}${top name 2} $alignr ${top pid 2} $alignr ${top cpu 2} $alignr ${top mem 2}
${color #BDB76B}${top name 3} $alignr ${top pid 3} $alignr ${top cpu 3} $alignr ${top mem 3}
#------内存信息----------------------------------------------------------------------------------------------------
${color #8B0A50}${font StyleBats:size=16}A${font :size=12}   内存信息 $hr $font $color
${color #00CD00}${font :size=12}系统内存: $mem/$memmax $alignr $memperc%
${color #BDB76B}${membar}
${color #00CD00}${font :size=12}虚拟内存: $swap/$swapmax $alignr $swapperc%
${color #BDB76B}${swapbar}
${color #00CD00}消耗最多 $alignr PID $alignr CPU% $alignr MEM%
${color #BDB76B}${top_mem name 1}$alignr${top_mem pid 1}$alignr${top_mem cpu 1}$alignr${top_mem mem 1}
${color #BDB76B}${top_mem name 2}$alignr${top_mem pid 2}$alignr${top_mem cpu 2}$alignr${top_mem mem 2}
${color #BDB76B}${top_mem name 3}$alignr${top_mem pid 3}$alignr${top_mem cpu 3}$alignr${top_mem mem 3}
#------用户目录----------------------------------------------------------------------------------------------------
${color #8B0A50}${font PizzaDude Bullets:size=16}N${font :size=12}   ${USER}用户 $hr $font $color
${color #00CD00}${font :size=12}家目录: ${fs_used /home}/${fs_size /home} $alignr ${fs_free_perc /home}%
${color #BDB76B}${fs_bar /home}
${color #00CD00}${font :size=12}根目录: ${fs_used /}/${fs_size /} $alignr ${fs_free_perc /}%
${color #BDB76B}${fs_bar /}
#------网络----------------------------------------------------------------------------------------------------
${color #8B0A50}${font PizzaDude Bullets:size=16}G${font :size=12}   网络 $hr $font $color
${color #00CD00}${font :size=12}本机 IP: $alignr${addr enp2s0}
${color #BDB76B} 下行 ${downspeed enp2s0}/s ${alignr}上行 ${upspeed enp2s0}/s
${downspeedgraph enp2s0 25,107} ${alignr}${upspeedgraph enp2s0 25,107}
${color #B23AEE}总计 ${totaldown enp2s0} ${alignr}总计 ${totalup enp2s0}
#enp2s0 是网卡名 根据你的具体情况填写
