默认配置路径:/etc/conky/conky.conf
复制 conky.conf 到 ~/.config/conky/conky.conf
修改,-- 为注释。
conky.config = {
alignment = 'top_left',
background = false,
border_width = 1,
default_color = 'white',
--default_outline_color = 'white',
--default_shade_color = 'white',
draw_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'SimSun:size=15',
gap_x = 1500,
gap_y = 100,
own_window_argb_visual = true,
own_window_transparent = true,
update_interval = 1.0
}
conky.text = [[
12月07日 原神3.3更新
12月16日 阿凡达-水之道
12月25日 圣诞节
$hr
Uptime: $uptime
RAM: $mem / $memmax = $memperc%
${membar 4}
CPU: $cpu% ${cpubar 4}
Net: Up: ${upspeed enp1s0} Down: ${downspeed enp1s0}
]]