配置文件:
default_color white
double_buffer yes
no_buffers yes
update_interval 5 # update_interval 1
total_run_times 0
own_window yes ##yes
own_window_type normal ## normal /override /desktop
own_window_transparent yes ##true/yes/no
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_colour 000000
own_window_argb_visual yes ##true/yes
own_window_argb_value 0
double_buffer yes
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders n0
minimum_size 100 3
maximum_width 250
default_color ffffff
default_shade_color 000000
default_outline_color 000000
alignment top_right
gap_x 10
gap_y 0 # gap_y 100
cpu_avg_samples 2
override_utf8_locale no
uppercase no # set to yes if you want all text to be in uppercase
use_spacer none
use_xft yes
xftfont WenQuanYi Zen Hei:pixelsize=12
override_utf8_locale yes
use_spacer none
TEXT
{font LCD:style=Bold:pixelsize=30}{alignc}{time %H:%M}{font WenQuanYi Zen Hei:pixelsize=14}
{alignc}{time %Y年%b%d日 星期%a}
${hr}
{font WenQuanYi Zen Hei:pixelsize=18}{alignc}{exec sed -n '3p' HOME/conky/conky-weather.db}
{font WenQuanYi Zen Hei:pixelsize=13} {exec sed -n '4p' HOME/conky/conky-weather.db} {font WenQuanYi Zen Hei:pixelsize=12}{exec sed -n '5p' HOME/conky/conky-weather.db}
{font WenQuanYi Zen Hei:pixelsize=12}{exec sed -n '6p' $HOME/conky/conky-weather.db}
{exec sed -n '7p' HOME/conky/conky-weather.db}
${hr}
{font WenQuanYi Zen Hei:pixelsize=18}{alignc}{exec sed -n '9p' HOME/conky/conky-weather.db}
{font WenQuanYi Zen Hei:pixelsize=12} {exec sed -n '10p' HOME/conky/conky-weather.db} {exec sed -n '11p' $HOME/conky/conky-weather.db}
{exec sed -n '12p' HOME/conky/conky-weather.db} {exec sed -n '13p' HOME/conky/conky-weather.db} 空气质量: {exec sed -n '14p' HOME/conky/conky-weather.db}
${hr}
{font WenQuanYi Zen Hei:pixelsize=18}{alignc}{exec sed -n '16p' HOME/conky/conky-weather.db}
{font WenQuanYi Zen Hei:pixelsize=12} {exec sed -n '17p' HOME/conky/conky-weather.db} {exec sed -n '18p' $HOME/conky/conky-weather.db}
{exec sed -n '19p' HOME/conky/conky-weather.db} {exec sed -n '20p' HOME/conky/conky-weather.db} 空气质量: {exec sed -n '21p' HOME/conky/conky-weather.db}
${hr}
{font WenQuanYi Zen Hei:pixelsize=14}{alignc}[ 提醒 ]
{exec head -5 HOME/conky/todo.txt}
{hr}{font WenQuanYi Zen Hei:pixelsize=12}
{color #98c2c7}主机名: {color}alignrnodename
{color #98c2c7}内核: {color}alignrkernel
#{color #98c2c7}CPU占用率: {color}alignr{cpu}%
{color #98c2c7}CPU占用率: {color} {freq_g dyn}GHz {cpu cpu}%
${cpubar cpu}
{color #98c2c7}CPU温度: {color}alignr{acpitemp}℃
{color #98c2c7}内存使用:{color} mem/memmax - $memperc%
${membar}
{color #98c2c7}已开机: {color}alignruptime
{image HOME/conky/moji-weather/weather-day00.png -p -2,70 -s 40x40 -n}{image HOME/conky/moji-weather/weather-day02.png -p -2,165 -s 40x40 -n}{image HOME/conky/moji-weather/weather-day03.png -p -2,240 -s 40x40 -n}
我的conky效果如下,配置是在论坛里拔出来的,想把这个背景搞成全透明的,该怎么修改呢?,请大家帮忙指点一下,谢谢!!我在后面把配置文件贴出来,再次感谢