代码: 全选
background yes
override_utf8_locale yes
font DejaVu FZYouHei=10
xftfont FZYouHei:size=10
use_xft yes
xftalpha 1
update_interval 2.0
total_run_times 0
own_window_argb_visual yes
own_window yes
own_window_type dock
#own_window_transparent yes
own_window_argb_value 50
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
gap_x 5
gap_y 8
no_buffers yes
cpu_avg_samples 2
override_utf8_locale yes
uppercase no # set to yes if you want all text to be in uppercase
use_spacer none
out_to_console no
default_color white
default_shade_color black
default_outline_color grey90
mpd_host 127.0.0.1
mpd_port 6600
maximum_width 1920
minimum_width 1920
TEXT
${alignr}${font FZYouHei:size=10}${color #9fd9be}$mpd_artist / $mpd_title ${alignc}${font FZYouHei:size=10}${color #e08df4}CPU: ${hwmon temp 1}'C / ${cpu}% ${alignc}${font FZYouHei:size=10}${color #ddaa00}Mem: $mem / $memperc% ${alignc}${font FZYouHei:size=10}${color #66b7f4} ${time %m/%d %A} ${time %H:%M}