2020-09-16 16:25:49 +02:00
|
|
|
conky.config = {
|
|
|
|
own_window = true,
|
|
|
|
own_window_type = 'desktop',
|
|
|
|
-- own_window_argb_visual yes
|
|
|
|
-- own_window_argb_value 125
|
|
|
|
own_window_transparent = true,
|
|
|
|
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
|
|
|
|
own_window_colour = '#000000',
|
|
|
|
own_window_class = 'Conky',
|
2020-09-17 23:08:28 +02:00
|
|
|
own_window_title = 'Mabox Cyberpunk Monitor Conky',
|
2020-09-16 16:25:49 +02:00
|
|
|
|
|
|
|
gap_x = 15,
|
|
|
|
gap_y = 50,
|
|
|
|
alignment = 'top_right',
|
|
|
|
minimum_width = '200',
|
|
|
|
minimum_width = 200,
|
|
|
|
|
|
|
|
use_xft = true,
|
2020-09-16 17:08:57 +02:00
|
|
|
font = 'JetBrains Mono Regular:size=8',
|
2020-09-16 16:25:49 +02:00
|
|
|
xftalpha = 1,
|
|
|
|
override_utf8_locale = true,
|
|
|
|
draw_shades = false,--yes
|
|
|
|
default_shade_color = '#000000',
|
2021-04-23 18:08:10 +02:00
|
|
|
draw_outline = true,
|
2021-04-23 19:00:06 +02:00
|
|
|
default_outline_color = '#222222',
|
2020-09-16 16:25:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
color2 = '#800080',
|
|
|
|
color3 = '#0F2856',
|
|
|
|
cpu_avg_samples = 2,
|
|
|
|
default_color = '#0ABDC6',
|
|
|
|
|
|
|
|
draw_borders = false,--yes
|
|
|
|
|
|
|
|
stippled_borders = 5,
|
|
|
|
border_inner_margin = 5,
|
|
|
|
border_outer_margin = 0,
|
|
|
|
border_width = 2,
|
|
|
|
|
|
|
|
|
|
|
|
background = true,
|
|
|
|
no_buffers = true,
|
|
|
|
imlib_cache_size = 0,
|
|
|
|
|
|
|
|
double_buffer = true,
|
|
|
|
update_interval = 1,
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
conky.text = [[
|
2020-09-16 17:08:57 +02:00
|
|
|
${voffset 8}$color${font JetBrains Mono Regular:size=14}${time %A}${voffset -18}$alignr${color3}${font JetBrains Mono Regular:size=36}${time %e}
|
|
|
|
$alignr$color${voffset -40}$color${font JetBrains Mono Regular:size=16}${time %B}
|
2020-10-01 14:31:40 +02:00
|
|
|
${voffset -20}${goto 10}$color${font JetBrains Mono Regular:size=18}${time %Y}
|
2020-09-16 16:25:49 +02:00
|
|
|
#${voffset 10}$alignr$color Kraków (PL) ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EPKK temperature temperature 15}°C
|
2020-09-16 17:08:57 +02:00
|
|
|
${font}${goto 40}${color}CPU$alignr$cpu%
|
2020-09-16 16:25:49 +02:00
|
|
|
$color2${goto 40}$alignr${cpubar 4,165}
|
|
|
|
${voffset 5}${goto 40}$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}%
|
|
|
|
#
|
2021-05-10 15:18:11 +02:00
|
|
|
${voffset 10}${goto 40}${color}RAM$alignr$legacymem/$memmax
|
2020-09-16 16:25:49 +02:00
|
|
|
$color2${goto 40}$alignr${membar 4,165}
|
|
|
|
${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}
|
|
|
|
#
|
|
|
|
${voffset 10}$alignr dysk ${color2}${fs_used /} - ${fs_size /}
|
2021-05-10 15:18:11 +02:00
|
|
|
$alignr$color pamięć ${color2}$legacymem - $memmax
|
2020-09-16 16:25:49 +02:00
|
|
|
#${alignr}${color2}${font JetBrains Mono Regular: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}
|
|
|
|
#
|
|
|
|
$alignr${execi 1200 whoami}@${nodename}
|
2020-09-16 17:08:57 +02:00
|
|
|
${voffset 10}${alignr}${color2}${font}uptime ${color}${uptime_short}
|
|
|
|
${alignr}${color2}${alignr}jądro ${color}${kernel}
|
|
|
|
${alignr}${color2}${alignr}arch ${color}${machine}
|
2020-09-17 23:08:28 +02:00
|
|
|
${alignr}${color2}${alignr}system plików ${color}${fs_type}
|
2020-09-16 16:25:49 +02:00
|
|
|
${voffset 10}${alignr}${color} dostępne aktualizacje: ${color3}${font JetBrains Mono Regular:bold:size=10}${execpi 1800 pamac checkupdates -aq | wc -l}${color}
|
|
|
|
${alignr}${color}${font} zainstalowane pakiety: ${color2}${execi 10000 pacman -Q | wc -l}
|
|
|
|
${alignr}${color} gałąź: ${color2}${execi 10000 pacman-mirrors -G}
|
|
|
|
]];
|