2020-08-16 13:50:05 +02:00
|
|
|
conky.config = {
|
2020-08-31 19:46:26 +02:00
|
|
|
background = true,
|
2020-08-16 13:50:05 +02:00
|
|
|
own_window = true,
|
|
|
|
own_window_type = 'desktop',
|
|
|
|
-- own_window_argb_visual yes
|
|
|
|
-- own_window_argb_value 125
|
2020-08-31 19:46:26 +02:00
|
|
|
own_window_transparent = false,
|
2020-08-16 13:50:05 +02:00
|
|
|
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
|
2020-08-31 19:46:26 +02:00
|
|
|
own_window_colour = '#bac8B0',
|
2020-08-16 13:50:05 +02:00
|
|
|
own_window_class = 'Conky',
|
2020-08-31 19:46:26 +02:00
|
|
|
own_window_title = 'Mabox Sysinfo Rainforest Monitor Conky',
|
2019-11-01 17:22:26 +01:00
|
|
|
|
2020-08-16 13:50:05 +02:00
|
|
|
gap_x = 15,
|
2020-08-31 19:46:26 +02:00
|
|
|
gap_y = 45,
|
|
|
|
alignment = 'bottom_right',
|
2020-08-16 13:50:05 +02:00
|
|
|
minimum_width = '200',
|
|
|
|
minimum_width = 200,
|
2020-03-05 03:02:48 +01:00
|
|
|
|
2020-08-16 13:50:05 +02:00
|
|
|
use_xft = true,
|
|
|
|
font = 'Cantarell:size=9',
|
|
|
|
xftalpha = 1,
|
|
|
|
override_utf8_locale = true,
|
|
|
|
draw_shades = false,--yes
|
|
|
|
default_shade_color = '#000000',
|
|
|
|
draw_outline = false,
|
|
|
|
default_outline_color = '#000000',
|
2019-11-01 17:22:26 +01:00
|
|
|
|
|
|
|
|
2020-08-31 19:46:26 +02:00
|
|
|
color2 = '#346078',
|
|
|
|
color3 = '#78CC14',
|
2020-08-16 13:50:05 +02:00
|
|
|
cpu_avg_samples = 2,
|
2020-08-31 19:46:26 +02:00
|
|
|
default_color = '#5B3860',
|
2019-11-01 17:22:26 +01:00
|
|
|
|
2020-08-16 13:50:05 +02:00
|
|
|
draw_borders = false,--yes
|
2019-11-01 17:22:26 +01:00
|
|
|
|
2020-08-16 13:50:05 +02:00
|
|
|
stippled_borders = 5,
|
|
|
|
border_inner_margin = 5,
|
|
|
|
border_outer_margin = 0,
|
|
|
|
border_width = 2,
|
2019-11-01 17:22:26 +01:00
|
|
|
|
2020-08-16 13:50:05 +02:00
|
|
|
no_buffers = true,
|
|
|
|
imlib_cache_size = 0,
|
2019-11-01 17:22:26 +01:00
|
|
|
|
2020-08-16 13:50:05 +02:00
|
|
|
double_buffer = true,
|
|
|
|
update_interval = 1,
|
|
|
|
};
|
|
|
|
|
|
|
|
conky.text = [[
|
2020-03-05 03:02:48 +01:00
|
|
|
${voffset 8}$color${font Cantarell:size=16}${time %A}$font${voffset -18}$alignr${color3}${font Cantarell:size=38}${time %e}$font
|
2019-11-01 17:22:26 +01:00
|
|
|
$color${voffset -20}$color${font Cantarell:size=18}${time %B}$font${voffset -1} $color${font Cantarell:size=20}${time %Y}$font
|
|
|
|
#${voffset 10}$alignr$color Kraków (PL) ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EPKK temperature temperature 15}°C
|
|
|
|
#
|
2020-08-31 19:46:26 +02:00
|
|
|
${voffset 10}${goto 10}${color}CPU$alignr$cpu%
|
|
|
|
$color2${goto 10}$alignr${cpubar 4,165}
|
|
|
|
${voffset 5}${goto 15}$font$color2${top name 1}$alignr$color${top cpu 1}%
|
|
|
|
${goto 15}$color2${top name 2}$alignr$color${top cpu 2}%
|
|
|
|
${goto 15}$color2${top name 3}$alignr$color${top cpu 3}%
|
|
|
|
${goto 15}$color2${top name 4}$alignr$color${top cpu 4}%
|
2019-11-01 17:22:26 +01:00
|
|
|
#
|
2020-08-31 19:46:26 +02:00
|
|
|
${voffset 10}${goto 10}${color}RAM$alignr$mem/$memmax
|
|
|
|
$color2${goto 10}$alignr${membar 4,165}
|
|
|
|
${goto 15}${voffset 5}$color2${top_mem name 1}$alignr$color${top_mem mem_res 1}
|
|
|
|
${goto 15}$color2${top_mem name 2}$alignr$color${top_mem mem_res 2}
|
|
|
|
${goto 15}$color2${top_mem name 3}$alignr$color${top_mem mem_res 3}
|
|
|
|
${goto 15}$color2${top_mem name 4}$alignr$color${top_mem mem_res 4}
|
2019-11-01 17:22:26 +01:00
|
|
|
#
|
|
|
|
${voffset 10}$alignr disk ${color2}${fs_used /} - ${fs_size /}
|
|
|
|
$alignr$color memory ${color2}$mem - $memmax
|
|
|
|
#${alignr}${color2}${font Cantarell:size=9}swap $swapmax - $swap
|
|
|
|
#
|
|
|
|
${voffset 10}$alignr${color} Mabox Linux ${execi 10000 awk -F'=' '/DISTRIB_RELEASE=/ {printf $2" "} /CODENAME/ {print $2}' /etc/lsb-release}
|
|
|
|
#
|
|
|
|
${voffset 10}$alignr${execi 1200 whoami}@${nodename}
|
|
|
|
${alignr}${color2}${font Cantarell:size=9}uptime ${color}${uptime_short}
|
|
|
|
${alignr}${color2}${font Cantarell:size=9}${alignr}kernel ${color}${kernel}
|
|
|
|
${alignr}${color2}${font Cantarell:size=9}${alignr}arch ${color}${machine}
|
|
|
|
${alignr}${color2}${font Cantarell:size=9}${alignr}filesystem ${color}${fs_type}
|
2020-03-05 03:02:48 +01:00
|
|
|
${voffset 10}${alignr}${color} available updates ${color3}${font Cantarell:bold:size=10}${execpi 1800 pamac checkupdates -aq| wc -l}${font}${color}
|
2019-11-01 17:22:26 +01:00
|
|
|
${alignr}${color} installed pkgs: ${color2}${execi 10000 pacman -Q | wc -l}
|
2020-03-03 02:42:16 +01:00
|
|
|
${alignr}${color} branch: ${color2}${execi 10000 pacman-mirrors -G}
|
2020-08-16 13:50:05 +02:00
|
|
|
]];
|