2021-05-31 18:29:46 +02:00
|
|
|
conky.config = {
|
|
|
|
alignment = 'top_right',
|
|
|
|
background = true,
|
|
|
|
color2 = '#ff5555',
|
|
|
|
cpu_avg_samples = 2,
|
|
|
|
default_color = '#f8f8f2',
|
|
|
|
double_buffer = true,
|
2023-01-26 21:17:16 +01:00
|
|
|
font = '<% opt.font %>:size=8',
|
2021-05-31 18:29:46 +02:00
|
|
|
gap_x = 64,
|
|
|
|
gap_y = 64,
|
|
|
|
minimum_width = 200,
|
|
|
|
no_buffers = true,
|
|
|
|
own_window = true,
|
|
|
|
own_window_type = 'override',
|
|
|
|
own_window_transparent = true,
|
|
|
|
update_interval = 1.0,
|
|
|
|
use_xft = true,
|
|
|
|
}
|
|
|
|
conky.text = [[
|
2023-01-26 21:17:16 +01:00
|
|
|
${voffset 8}$color2${font <% opt.font %>:size=16}${time %A}$font\
|
|
|
|
${voffset -8}$alignr$color${font <% opt.font %>:size=38}${time %e}$font
|
|
|
|
$color${voffset -30}$color${font <% opt.font %>:size=18}${time %b}$font\
|
|
|
|
${voffset -3} $color${font <% opt.font %>:size=20}${time %Y}$font$color2$hr
|
2021-05-31 18:29:46 +02:00
|
|
|
#
|
2023-01-26 21:17:16 +01:00
|
|
|
${voffset 20}${goto 40}${color}CPU${font <% opt.font %>:bold:size=8}$alignr$cpu%
|
2021-05-31 18:29:46 +02:00
|
|
|
${voffset 5}${goto 40}$font$color2${top name 1}$alignr$color${top cpu 1}%
|
|
|
|
${goto 40}$color2${top name 2}$alignr$color${top cpu 2}%
|
|
|
|
${goto 40}$color2${top name 3}$alignr$color${top cpu 3}%
|
|
|
|
${goto 40}$color2${top name 4}$alignr$color${top cpu 4}%
|
|
|
|
# ${goto 40}$color2${top name 5}$alignr$color${top cpu 5}%
|
|
|
|
#
|
2023-01-26 21:17:16 +01:00
|
|
|
${voffset 10}${goto 40}${color}RAM${font <% opt.font %>:bold:size=8}$alignr$mem$font
|
2021-05-31 18:29:46 +02:00
|
|
|
${goto 40}${voffset 5}$color2${top_mem name 1}$alignr$color${top_mem mem_res 1}
|
|
|
|
${goto 40}$color2${top_mem name 2}$alignr$color${top_mem mem_res 2}
|
|
|
|
${goto 40}$color2${top_mem name 3}$alignr$color${top_mem mem_res 3}
|
|
|
|
${goto 40}$color2${top_mem name 4}$alignr$color${top_mem mem_res 4}
|
|
|
|
# ${goto 40}$color2${top_mem name 5}$alignr$color${top_mem mem_res 5}
|
|
|
|
#
|
2023-01-26 21:17:16 +01:00
|
|
|
${voffset 10}${goto 40}${color}Swap${font <% opt.font %>:bold:size=8}$alignr${swap}/ ${swapfree}
|
2021-05-31 18:29:46 +02:00
|
|
|
${voffset 15}$font$alignr${execi 10000 awk -F= '/TION/ {print $2}' /etc/lsb-release |sed 's/"//g'} \
|
|
|
|
${execi 10000 awk -F= '/EASE=/ {printf $2" "} /NAME/ {print $2}' /etc/lsb-release}
|
|
|
|
${voffset 10}${color2}${alignr}${execi 1200 whoami}@${nodename}
|
2023-01-26 21:17:16 +01:00
|
|
|
${alignr}${color2}${font <% opt.font %>:size=8}uptime: ${color}${uptime_short}
|
|
|
|
${voffset 5}${color2}${font <% opt.font %>:size=8}${alignr}kernel: ${color}${kernel}
|
2021-05-31 18:29:46 +02:00
|
|
|
]]
|