OK, so that went rather quickly. I've created a total of 7 conky's to cover everyone from 2 core CPU'S to 16 core CPU'S.
I've renamed them so it is easier to find in the Conky Manager under the MX-MyConky section.
Please test and tell me what you think. I'll post the name of the conky according to the core count.
Be sure to save the file in the MX-MyConky folder.
MySysInfoConky-2Core
Code: Select all
conky.config = {
-- My adapted/changed Conky
-- 18 Dec. 2018
double_buffer = true,
update_interval = 1,
background = true,
own_window = true,
own_window_type = 'normal',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
own_window_argb_value = 0,
out_to_console = false,
own_window_transparent = true,
own_window_class = 'conky',
use_xft = true,
font = 'cure:size=12',
xftalpha = 0,
update_interval = 1,
cpu_avg_samples = 1,
net_avg_samples = 1,
double_buffer = true,
maximum_width = 320,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
stippled_borders = 1,
border_width = 0,
default_color = 'white',
default_shade_color = 'white',
default_outline_color = 'white',
alignment = 'top_left',
use_spacer = 'left',
no_buffers = true,
uppercase = false,
color0 = 'white',
color1 = 'green',
color2 = 'white',
color3 = '1793d0',
pad_percents = 2,
top_name_width = 7,
minimum_width = 320, minimum_height = 610,
gap_x = 10,
gap_y = 10,
lua_load = 'allcombined.lua',
own_window_colour = '000000',
-- if_up_strictness link: up | link | address
if_up_strictness = 'address',
-- network templates
template0 = 'wlan0',
template1 = 'wlan1',
template2 = 'eth0',
template3 = 'eth1',
-- time template
template7 = '%a %d %b %Y - %H:%M:%S',
};
-- fluxbox adjustment
return_code = os.execute('pidof -q fluxbox')
if _VERSION == 'Lua 5.1' and math.floor(return_code/256) == 0 or
_VERSION ~= 'Lua 5.1' and return_code then
conky.config.own_window_transparent = true
conky.config.own_window_argb_visual = false
end
conky.text = [[
#-----------------------System-----------------------------------
${offset 5}${font Good Times:size=12}${color Tan1}SYSTEM ${color}${hr 2}${font}
${alignc}${font}${color}${offset 6}${execi 86400 cat /etc/mx-version}
${alignc}Kernel: ${kernel}
${alignc}${time %a %d %b %Y - %H:%M:%S}
#-----------------------CPU-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}CPU ${color}${hr 2}${font}
${alignc}${font}${color}${execi 86400 grep -m1 -oP '^model name\s+:\s\K(.*)' /proc/cpuinfo}
${alignc}${color lightgrey}Temperature: ${if_existing /sys/class/hwmon/hwmon3/temp1_input}${eval ${hwmon 3 temp 1}}${else}${if_existing /sys/class/hwmon/hwmon1/temp1_input}${eval ${hwmon 1 temp 1}}${endif}${endif}°C
# CPU0
${alignc}CPU Core Loads
CPU1 ${goto 80} ${cpu cpu1}% ${lua gradbar {4, 238, "${cpu cpu1}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 1} MHz
${voffset 10}CPU2 ${goto 80} ${cpu cpu2}% ${lua gradbar {4, 270, "${cpu cpu2}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 2} MHz
#-----------------------Memory Load-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}MEMORY ${color}${hr 2}${font}
${color}RAM Available${color}${alignr}$memmax ${lua gradbar {4, 365, "${memperc}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}
${color}$mem used${alignr}${memperc}% used
#-----------------------Processes----------------------
${offset 10}${font Good Times:size=12}${color Tan1}PROCESSES ${color}${hr 2}${font}
#${running_processes} ${running_threads} ${processes}
${hr 1}${font}
${color lightgrey}${font Futurist Fixed-width:size=10:bold}${color7}${offset 5}PROCESS CPU${alignr} MEMORY ${offset -5}PID
${voffset -10}${color0}${hr 1}${font}${color}${font monofur:size=11}
${voffset -3}#
${offset 5}${top name 1} ${alignr}${top cpu 1}% ${top mem_res 1} ${alignr}${offset -5}${top pid 1}
${offset 5}${top name 2} ${alignr}${top cpu 2}% ${top mem_res 2} ${alignr}${offset -5}${top pid 2}
${offset 5}${top name 3} ${alignr}${top cpu 3}% ${top mem_res 3} ${alignr}${offset -5}${top pid 3}
${offset 5}${top name 4} ${alignr}${top cpu 4}% ${top mem_res 4} ${alignr}${offset -5}${top pid 4}
${offset 5}${top name 5} ${alignr}${top cpu 5}% ${top mem_res 5} ${alignr}${offset -5}${top pid 5}
#-----------------------Network-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}NETWORK ${color}${hr 2}${font}
${voffset -1}
${if_up $template0}\
${goto 10}Wireless:${color3} $template0${color}${goto 145}IP local: ${color3}${addr $template0}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template0}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template0}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template0}${color1}${alignr}${goto 180}${color2}Received: ${color}${color2}${totaldown $template0}
${goto 14}${upspeedgraph $template0 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template0 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template1}\
${goto 10}Wireless: ${color3} $template1${color}${goto 160} IP local: ${color3}${addr $template1}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template1}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template1}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template1}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template1}
${goto 14}${upspeedgraph $template1 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template1 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template2}\
${goto 10}Ethernet: ${color3} $template2${color}${goto 160} IP local: ${color3}${addr $template2}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template2}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template2}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template2}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template2}
${goto 14}${upspeedgraph $template2 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template2 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template3}\
${goto 10}Ethernet: ${color3} $template3${color}${goto 160} IP local: ${color3}${addr $template3}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template3}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template3}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template3}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template3}
${goto 14}${upspeedgraph $template3 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template3 25,140 000000 00FF00}
${voffset -1}\
${endif}
]];
MySysInfoConky-4Core
Code: Select all
conky.config = {
-- My adapted/changed Conky
-- 18 Dec. 2018
double_buffer = true,
update_interval = 1,
background = true,
own_window = true,
own_window_type = 'normal',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
own_window_argb_value = 0,
out_to_console = false,
own_window_transparent = true,
own_window_class = 'conky',
use_xft = true,
font = 'cure:size=12',
xftalpha = 0,
update_interval = 1,
cpu_avg_samples = 1,
net_avg_samples = 1,
double_buffer = true,
maximum_width = 320,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
stippled_borders = 1,
border_width = 0,
default_color = 'white',
default_shade_color = 'white',
default_outline_color = 'white',
alignment = 'top_left',
use_spacer = 'left',
no_buffers = true,
uppercase = false,
color0 = 'white',
color1 = 'green',
color2 = 'white',
color3 = '1793d0',
pad_percents = 2,
top_name_width = 7,
minimum_width = 320, minimum_height = 610,
gap_x = 10,
gap_y = 10,
lua_load = 'allcombined.lua',
own_window_colour = '000000',
-- if_up_strictness link: up | link | address
if_up_strictness = 'address',
-- network templates
template0 = 'wlan0',
template1 = 'wlan1',
template2 = 'eth0',
template3 = 'eth1',
-- time template
template7 = '%a %d %b %Y - %H:%M:%S',
};
-- fluxbox adjustment
return_code = os.execute('pidof -q fluxbox')
if _VERSION == 'Lua 5.1' and math.floor(return_code/256) == 0 or
_VERSION ~= 'Lua 5.1' and return_code then
conky.config.own_window_transparent = true
conky.config.own_window_argb_visual = false
end
conky.text = [[
#-----------------------System-----------------------------------
${offset 5}${font Good Times:size=12}${color Tan1}SYSTEM ${color}${hr 2}${font}
${alignc}${font}${color}${offset 6}${execi 86400 cat /etc/mx-version}
${alignc}Kernel: ${kernel}
${alignc}${time %a %d %b %Y - %H:%M:%S}
#-----------------------CPU-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}CPU ${color}${hr 2}${font}
${alignc}${font}${color}${execi 86400 grep -m1 -oP '^model name\s+:\s\K(.*)' /proc/cpuinfo}
${alignc}${color lightgrey}Temperature: ${if_existing /sys/class/hwmon/hwmon3/temp1_input}${eval ${hwmon 3 temp 1}}${else}${if_existing /sys/class/hwmon/hwmon1/temp1_input}${eval ${hwmon 1 temp 1}}${endif}${endif}°C
# CPU0
${alignc}CPU Core Loads
CPU1 ${goto 80} ${cpu cpu1}% ${lua gradbar {4, 238, "${cpu cpu1}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 1} MHz
${voffset 10}CPU2 ${goto 80} ${cpu cpu2}% ${lua gradbar {4, 270, "${cpu cpu2}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 2} MHz
${voffset 10}CPU3 ${goto 80} ${cpu cpu3}% ${lua gradbar {4, 303, "${cpu cpu3}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 3} MHz
${voffset 10}CPU4 ${goto 80} ${cpu cpu4}% ${lua gradbar {4, 336, "${cpu cpu4}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 4} MHz
#-----------------------Memory Load-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}MEMORY ${color}${hr 2}${font}
${color}RAM Available${color}${alignr}$memmax ${lua gradbar {4, 430, "${memperc}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}
${color}$mem used${alignr}${memperc}% used
#-----------------------Processes----------------------
${offset 10}${font Good Times:size=12}${color Tan1}PROCESSES ${color}${hr 2}${font}
#${running_processes} ${running_threads} ${processes}
${hr 1}${font}
${color lightgrey}${font Futurist Fixed-width:size=10:bold}${color7}${offset 5}PROCESS CPU${alignr} MEMORY ${offset -5}PID
${voffset -10}${color0}${hr 1}${font}${color}${font monofur:size=11}
${voffset -3}#
${offset 5}${top name 1} ${alignr}${top cpu 1}% ${top mem_res 1} ${alignr}${offset -5}${top pid 1}
${offset 5}${top name 2} ${alignr}${top cpu 2}% ${top mem_res 2} ${alignr}${offset -5}${top pid 2}
${offset 5}${top name 3} ${alignr}${top cpu 3}% ${top mem_res 3} ${alignr}${offset -5}${top pid 3}
${offset 5}${top name 4} ${alignr}${top cpu 4}% ${top mem_res 4} ${alignr}${offset -5}${top pid 4}
${offset 5}${top name 5} ${alignr}${top cpu 5}% ${top mem_res 5} ${alignr}${offset -5}${top pid 5}
#-----------------------Network-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}NETWORK ${color}${hr 2}${font}
${voffset -1}
${if_up $template0}\
${goto 10}Wireless:${color3} $template0${color}${goto 145}IP local: ${color3}${addr $template0}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template0}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template0}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template0}${color1}${alignr}${goto 180}${color2}Received: ${color}${color2}${totaldown $template0}
${goto 14}${upspeedgraph $template0 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template0 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template1}\
${goto 10}Wireless: ${color3} $template1${color}${goto 160} IP local: ${color3}${addr $template1}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template1}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template1}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template1}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template1}
${goto 14}${upspeedgraph $template1 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template1 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template2}\
${goto 10}Ethernet: ${color3} $template2${color}${goto 160} IP local: ${color3}${addr $template2}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template2}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template2}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template2}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template2}
${goto 14}${upspeedgraph $template2 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template2 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template3}\
${goto 10}Ethernet: ${color3} $template3${color}${goto 160} IP local: ${color3}${addr $template3}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template3}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template3}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template3}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template3}
${goto 14}${upspeedgraph $template3 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template3 25,140 000000 00FF00}
${voffset -1}\
${endif}
]];
MySysInfoConky-6Core
Code: Select all
conky.config = {
-- My adapted/changed Conky
-- 18 Dec. 2018
double_buffer = true,
update_interval = 1,
background = true,
own_window = true,
own_window_type = 'normal',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
own_window_argb_value = 0,
out_to_console = false,
own_window_transparent = true,
own_window_class = 'conky',
use_xft = true,
font = 'cure:size=12',
xftalpha = 0,
update_interval = 1,
cpu_avg_samples = 1,
net_avg_samples = 1,
double_buffer = true,
maximum_width = 320,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
stippled_borders = 1,
border_width = 0,
default_color = 'white',
default_shade_color = 'white',
default_outline_color = 'white',
alignment = 'top_left',
use_spacer = 'left',
no_buffers = true,
uppercase = false,
color0 = 'white',
color1 = 'green',
color2 = 'white',
color3 = '1793d0',
pad_percents = 2,
top_name_width = 7,
minimum_width = 320, minimum_height = 610,
gap_x = 10,
gap_y = 10,
lua_load = 'allcombined.lua',
own_window_colour = '000000',
-- if_up_strictness link: up | link | address
if_up_strictness = 'address',
-- network templates
template0 = 'wlan0',
template1 = 'wlan1',
template2 = 'eth0',
template3 = 'eth1',
-- time template
template7 = '%a %d %b %Y - %H:%M:%S',
};
-- fluxbox adjustment
return_code = os.execute('pidof -q fluxbox')
if _VERSION == 'Lua 5.1' and math.floor(return_code/256) == 0 or
_VERSION ~= 'Lua 5.1' and return_code then
conky.config.own_window_transparent = true
conky.config.own_window_argb_visual = false
end
conky.text = [[
#-----------------------System-----------------------------------
${offset 5}${font Good Times:size=12}${color Tan1}SYSTEM ${color}${hr 2}${font}
${alignc}${font}${color}${offset 6}${execi 86400 cat /etc/mx-version}
${alignc}Kernel: ${kernel}
${alignc}${time %a %d %b %Y - %H:%M:%S}
#-----------------------CPU-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}CPU ${color}${hr 2}${font}
${alignc}${font}${color}${execi 86400 grep -m1 -oP '^model name\s+:\s\K(.*)' /proc/cpuinfo}
${alignc}${color lightgrey}Temperature: ${if_existing /sys/class/hwmon/hwmon3/temp1_input}${eval ${hwmon 3 temp 1}}${else}${if_existing /sys/class/hwmon/hwmon1/temp1_input}${eval ${hwmon 1 temp 1}}${endif}${endif}°C
# CPU0
${alignc}CPU Core Loads
CPU1 ${goto 80} ${cpu cpu1}% ${lua gradbar {4, 238, "${cpu cpu1}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 1} MHz
${voffset 10}CPU2 ${goto 80} ${cpu cpu2}% ${lua gradbar {4, 270, "${cpu cpu2}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 2} MHz
${voffset 10}CPU3 ${goto 80} ${cpu cpu3}% ${lua gradbar {4, 303, "${cpu cpu3}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 3} MHz
${voffset 10}CPU4 ${goto 80} ${cpu cpu4}% ${lua gradbar {4, 336, "${cpu cpu4}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 4} MHz
${voffset 10}CPU5 ${goto 80} ${cpu cpu5}% ${lua gradbar {4, 370, "${cpu cpu5}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 5} MHz
${voffset 10}CPU6 ${goto 80} ${cpu cpu6}% ${lua gradbar {4, 403, "${cpu cpu6}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 6} MHz
#-----------------------Memory Load-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}MEMORY ${color}${hr 2}${font}
${color}RAM Available${color}${alignr}$memmax ${lua gradbar {4, 497, "${memperc}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}
${color}$mem used${alignr}${memperc}% used
#-----------------------Processes----------------------
${offset 10}${font Good Times:size=12}${color Tan1}PROCESSES ${color}${hr 2}${font}
#${running_processes} ${running_threads} ${processes}
${hr 1}${font}
${color lightgrey}${font Futurist Fixed-width:size=10:bold}${color7}${offset 5}PROCESS CPU${alignr} MEMORY ${offset -5}PID
${voffset -10}${color0}${hr 1}${font}${color}${font monofur:size=11}
${voffset -3}#
${offset 5}${top name 1} ${alignr}${top cpu 1}% ${top mem_res 1} ${alignr}${offset -5}${top pid 1}
${offset 5}${top name 2} ${alignr}${top cpu 2}% ${top mem_res 2} ${alignr}${offset -5}${top pid 2}
${offset 5}${top name 3} ${alignr}${top cpu 3}% ${top mem_res 3} ${alignr}${offset -5}${top pid 3}
${offset 5}${top name 4} ${alignr}${top cpu 4}% ${top mem_res 4} ${alignr}${offset -5}${top pid 4}
${offset 5}${top name 5} ${alignr}${top cpu 5}% ${top mem_res 5} ${alignr}${offset -5}${top pid 5}
#-----------------------Network-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}NETWORK ${color}${hr 2}${font}
${voffset -1}
${if_up $template0}\
${goto 10}Wireless:${color3} $template0${color}${goto 145}IP local: ${color3}${addr $template0}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template0}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template0}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template0}${color1}${alignr}${goto 180}${color2}Received: ${color}${color2}${totaldown $template0}
${goto 14}${upspeedgraph $template0 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template0 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template1}\
${goto 10}Wireless: ${color3} $template1${color}${goto 160} IP local: ${color3}${addr $template1}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template1}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template1}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template1}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template1}
${goto 14}${upspeedgraph $template1 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template1 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template2}\
${goto 10}Ethernet: ${color3} $template2${color}${goto 160} IP local: ${color3}${addr $template2}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template2}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template2}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template2}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template2}
${goto 14}${upspeedgraph $template2 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template2 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template3}\
${goto 10}Ethernet: ${color3} $template3${color}${goto 160} IP local: ${color3}${addr $template3}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template3}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template3}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template3}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template3}
${goto 14}${upspeedgraph $template3 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template3 25,140 000000 00FF00}
${voffset -1}\
${endif}
]];
MySysInfoConky-8Core
Code: Select all
conky.config = {
-- My adapted/changed Conky
-- 18 Dec. 2018
double_buffer = true,
update_interval = 1,
background = true,
own_window = true,
own_window_type = 'normal',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
own_window_argb_value = 0,
out_to_console = false,
own_window_transparent = true,
own_window_class = 'conky',
use_xft = true,
font = 'cure:size=12',
xftalpha = 0,
update_interval = 1,
cpu_avg_samples = 1,
net_avg_samples = 1,
double_buffer = true,
maximum_width = 320,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
stippled_borders = 1,
border_width = 0,
default_color = 'white',
default_shade_color = 'white',
default_outline_color = 'white',
alignment = 'top_left',
use_spacer = 'left',
no_buffers = true,
uppercase = false,
color0 = 'white',
color1 = 'green',
color2 = 'white',
color3 = '1793d0',
pad_percents = 2,
top_name_width = 7,
minimum_width = 320, minimum_height = 610,
gap_x = 10,
gap_y = 10,
lua_load = 'allcombined.lua',
own_window_colour = '000000',
-- if_up_strictness link: up | link | address
if_up_strictness = 'address',
-- network templates
template0 = 'wlan0',
template1 = 'wlan1',
template2 = 'eth0',
template3 = 'eth1',
-- time template
template7 = '%a %d %b %Y - %H:%M:%S',
};
-- fluxbox adjustment
return_code = os.execute('pidof -q fluxbox')
if _VERSION == 'Lua 5.1' and math.floor(return_code/256) == 0 or
_VERSION ~= 'Lua 5.1' and return_code then
conky.config.own_window_transparent = true
conky.config.own_window_argb_visual = false
end
conky.text = [[
#-----------------------System-----------------------------------
${offset 5}${font Good Times:size=12}${color Tan1}SYSTEM ${color}${hr 2}${font}
${alignc}${font}${color}${offset 6}${execi 86400 cat /etc/mx-version}
${alignc}Kernel: ${kernel}
${alignc}${time %a %d %b %Y - %H:%M:%S}
#-----------------------CPU-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}CPU ${color}${hr 2}${font}
${alignc}${font}${color}${execi 86400 grep -m1 -oP '^model name\s+:\s\K(.*)' /proc/cpuinfo}
${alignc}${color lightgrey}Temperature: ${if_existing /sys/class/hwmon/hwmon3/temp1_input}${eval ${hwmon 3 temp 1}}${else}${if_existing /sys/class/hwmon/hwmon1/temp1_input}${eval ${hwmon 1 temp 1}}${endif}${endif}°C
# CPU0
${alignc}CPU Core Loads
CPU1 ${goto 80} ${cpu cpu1}% ${lua gradbar {4, 238, "${cpu cpu1}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 1} MHz
${voffset 10}CPU2 ${goto 80} ${cpu cpu2}% ${lua gradbar {4, 270, "${cpu cpu2}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 2} MHz
${voffset 10}CPU3 ${goto 80} ${cpu cpu3}% ${lua gradbar {4, 303, "${cpu cpu3}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 3} MHz
${voffset 10}CPU4 ${goto 80} ${cpu cpu4}% ${lua gradbar {4, 336, "${cpu cpu4}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 4} MHz
${voffset 10}CPU5 ${goto 80} ${cpu cpu5}% ${lua gradbar {4, 370, "${cpu cpu5}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 5} MHz
${voffset 10}CPU6 ${goto 80} ${cpu cpu6}% ${lua gradbar {4, 403, "${cpu cpu6}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 6} MHz
${voffset 10}CPU7 ${goto 80} ${cpu cpu7}% ${lua gradbar {4, 436, "${cpu cpu7}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 7} MHz
${voffset 10}CPU8 ${goto 80} ${cpu cpu8}% ${lua gradbar {4, 468, "${cpu cpu8}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 8} MHz
#-----------------------Memory Load-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}MEMORY ${color}${hr 2}${font}
${color}RAM Available${color}${alignr}$memmax ${lua gradbar {4, 563, "${memperc}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}
${color}$mem used${alignr}${memperc}% used
#-----------------------Processes----------------------
${offset 10}${font Good Times:size=12}${color Tan1}PROCESSES ${color}${hr 2}${font}
#${running_processes} ${running_threads} ${processes}
${hr 1}${font}
${color lightgrey}${font Futurist Fixed-width:size=10:bold}${color7}${offset 5}PROCESS CPU${alignr} MEMORY ${offset -5}PID
${voffset -10}${color0}${hr 1}${font}${color}${font monofur:size=11}
${voffset -3}#
${offset 5}${top name 1} ${alignr}${top cpu 1}% ${top mem_res 1} ${alignr}${offset -5}${top pid 1}
${offset 5}${top name 2} ${alignr}${top cpu 2}% ${top mem_res 2} ${alignr}${offset -5}${top pid 2}
${offset 5}${top name 3} ${alignr}${top cpu 3}% ${top mem_res 3} ${alignr}${offset -5}${top pid 3}
${offset 5}${top name 4} ${alignr}${top cpu 4}% ${top mem_res 4} ${alignr}${offset -5}${top pid 4}
${offset 5}${top name 5} ${alignr}${top cpu 5}% ${top mem_res 5} ${alignr}${offset -5}${top pid 5}
#-----------------------Network-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}NETWORK ${color}${hr 2}${font}
${voffset -1}
${if_up $template0}\
${goto 10}Wireless:${color3} $template0${color}${goto 145}IP local: ${color3}${addr $template0}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template0}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template0}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template0}${color1}${alignr}${goto 180}${color2}Received: ${color}${color2}${totaldown $template0}
${goto 14}${upspeedgraph $template0 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template0 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template1}\
${goto 10}Wireless: ${color3} $template1${color}${goto 160} IP local: ${color3}${addr $template1}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template1}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template1}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template1}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template1}
${goto 14}${upspeedgraph $template1 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template1 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template2}\
${goto 10}Ethernet: ${color3} $template2${color}${goto 160} IP local: ${color3}${addr $template2}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template2}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template2}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template2}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template2}
${goto 14}${upspeedgraph $template2 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template2 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template3}\
${goto 10}Ethernet: ${color3} $template3${color}${goto 160} IP local: ${color3}${addr $template3}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template3}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template3}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template3}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template3}
${goto 14}${upspeedgraph $template3 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template3 25,140 000000 00FF00}
${voffset -1}\
${endif}
]];
MySysInfoConky-10Core
Code: Select all
conky.config = {
-- My adapted/changed Conky
-- 18 Dec. 2018
double_buffer = true,
update_interval = 1,
background = true,
own_window = true,
own_window_type = 'normal',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
own_window_argb_value = 0,
out_to_console = false,
own_window_transparent = true,
own_window_class = 'conky',
use_xft = true,
font = 'cure:size=12',
xftalpha = 0,
update_interval = 1,
cpu_avg_samples = 1,
net_avg_samples = 1,
double_buffer = true,
maximum_width = 320,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
stippled_borders = 1,
border_width = 0,
default_color = 'white',
default_shade_color = 'white',
default_outline_color = 'white',
alignment = 'top_left',
use_spacer = 'left',
no_buffers = true,
uppercase = false,
color0 = 'white',
color1 = 'green',
color2 = 'white',
color3 = '1793d0',
pad_percents = 2,
top_name_width = 7,
minimum_width = 320, minimum_height = 610,
gap_x = 10,
gap_y = 10,
lua_load = 'allcombined.lua',
own_window_colour = '000000',
-- if_up_strictness link: up | link | address
if_up_strictness = 'address',
-- network templates
template0 = 'wlan0',
template1 = 'wlan1',
template2 = 'eth0',
template3 = 'eth1',
-- time template
template7 = '%a %d %b %Y - %H:%M:%S',
};
-- fluxbox adjustment
return_code = os.execute('pidof -q fluxbox')
if _VERSION == 'Lua 5.1' and math.floor(return_code/256) == 0 or
_VERSION ~= 'Lua 5.1' and return_code then
conky.config.own_window_transparent = true
conky.config.own_window_argb_visual = false
end
conky.text = [[
#-----------------------System-----------------------------------
${offset 5}${font Good Times:size=12}${color Tan1}SYSTEM ${color}${hr 2}${font}
${alignc}${font}${color}${offset 6}${execi 86400 cat /etc/mx-version}
${alignc}Kernel: ${kernel}
${alignc}${time %a %d %b %Y - %H:%M:%S}
#-----------------------CPU-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}CPU ${color}${hr 2}${font}
${alignc}${font}${color}${execi 86400 grep -m1 -oP '^model name\s+:\s\K(.*)' /proc/cpuinfo}
${alignc}${color lightgrey}Temperature: ${if_existing /sys/class/hwmon/hwmon3/temp1_input}${eval ${hwmon 3 temp 1}}${else}${if_existing /sys/class/hwmon/hwmon1/temp1_input}${eval ${hwmon 1 temp 1}}${endif}${endif}°C
# CPU0
${alignc}CPU Core Loads
CPU1 ${goto 80} ${cpu cpu1}% ${lua gradbar {4, 238, "${cpu cpu1}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 1} MHz
${voffset 10}CPU2 ${goto 80} ${cpu cpu2}% ${lua gradbar {4, 270, "${cpu cpu2}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 2} MHz
${voffset 10}CPU3 ${goto 80} ${cpu cpu3}% ${lua gradbar {4, 303, "${cpu cpu3}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 3} MHz
${voffset 10}CPU4 ${goto 80} ${cpu cpu4}% ${lua gradbar {4, 336, "${cpu cpu4}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 4} MHz
${voffset 10}CPU5 ${goto 80} ${cpu cpu5}% ${lua gradbar {4, 370, "${cpu cpu5}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 5} MHz
${voffset 10}CPU6 ${goto 80} ${cpu cpu6}% ${lua gradbar {4, 403, "${cpu cpu6}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 6} MHz
${voffset 10}CPU7 ${goto 80} ${cpu cpu7}% ${lua gradbar {4, 436, "${cpu cpu7}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 7} MHz
${voffset 10}CPU8 ${goto 80} ${cpu cpu8}% ${lua gradbar {4, 468, "${cpu cpu8}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 8} MHz
${voffset 10}CPU9 ${goto 80} ${cpu cpu9}% ${lua gradbar {4, 500, "${cpu cpu9}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 9} MHz
${voffset 10}CPU10 ${goto 80} ${cpu cpu10}% ${lua gradbar {4, 533, "${cpu cpu10}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 10} MHz
#-----------------------Memory Load-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}MEMORY ${color}${hr 2}${font}
${color}RAM Available${color}${alignr}$memmax ${lua gradbar {4, 628, "${memperc}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}
${color}$mem used${alignr}${memperc}% used
#-----------------------Processes----------------------
${offset 10}${font Good Times:size=12}${color Tan1}PROCESSES ${color}${hr 2}${font}
#${running_processes} ${running_threads} ${processes}
${hr 1}${font}
${color lightgrey}${font Futurist Fixed-width:size=10:bold}${color7}${offset 5}PROCESS CPU${alignr} MEMORY ${offset -5}PID
${voffset -10}${color0}${hr 1}${font}${color}${font monofur:size=11}
${voffset -3}#
${offset 5}${top name 1} ${alignr}${top cpu 1}% ${top mem_res 1} ${alignr}${offset -5}${top pid 1}
${offset 5}${top name 2} ${alignr}${top cpu 2}% ${top mem_res 2} ${alignr}${offset -5}${top pid 2}
${offset 5}${top name 3} ${alignr}${top cpu 3}% ${top mem_res 3} ${alignr}${offset -5}${top pid 3}
${offset 5}${top name 4} ${alignr}${top cpu 4}% ${top mem_res 4} ${alignr}${offset -5}${top pid 4}
${offset 5}${top name 5} ${alignr}${top cpu 5}% ${top mem_res 5} ${alignr}${offset -5}${top pid 5}
#-----------------------Network-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}NETWORK ${color}${hr 2}${font}
${voffset -1}
${if_up $template0}\
${goto 10}Wireless:${color3} $template0${color}${goto 145}IP local: ${color3}${addr $template0}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template0}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template0}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template0}${color1}${alignr}${goto 180}${color2}Received: ${color}${color2}${totaldown $template0}
${goto 14}${upspeedgraph $template0 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template0 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template1}\
${goto 10}Wireless: ${color3} $template1${color}${goto 160} IP local: ${color3}${addr $template1}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template1}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template1}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template1}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template1}
${goto 14}${upspeedgraph $template1 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template1 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template2}\
${goto 10}Ethernet: ${color3} $template2${color}${goto 160} IP local: ${color3}${addr $template2}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template2}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template2}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template2}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template2}
${goto 14}${upspeedgraph $template2 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template2 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template3}\
${goto 10}Ethernet: ${color3} $template3${color}${goto 160} IP local: ${color3}${addr $template3}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template3}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template3}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template3}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template3}
${goto 14}${upspeedgraph $template3 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template3 25,140 000000 00FF00}
${voffset -1}\
${endif}
]];
MySysInfoConky-12Core
Code: Select all
conky.config = {
-- My adapted/changed Conky
-- 18 Dec. 2018
double_buffer = true,
update_interval = 1,
background = true,
own_window = true,
own_window_type = 'normal',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
own_window_argb_value = 0,
out_to_console = false,
own_window_transparent = true,
own_window_class = 'conky',
use_xft = true,
font = 'cure:size=12',
xftalpha = 0,
update_interval = 1,
cpu_avg_samples = 1,
net_avg_samples = 1,
double_buffer = true,
maximum_width = 320,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
stippled_borders = 1,
border_width = 0,
default_color = 'white',
default_shade_color = 'white',
default_outline_color = 'white',
alignment = 'top_left',
use_spacer = 'left',
no_buffers = true,
uppercase = false,
color0 = 'white',
color1 = 'green',
color2 = 'white',
color3 = '1793d0',
pad_percents = 2,
top_name_width = 7,
minimum_width = 320, minimum_height = 610,
gap_x = 10,
gap_y = 10,
lua_load = 'allcombined.lua',
own_window_colour = '000000',
-- if_up_strictness link: up | link | address
if_up_strictness = 'address',
-- network templates
template0 = 'wlan0',
template1 = 'wlan1',
template2 = 'eth0',
template3 = 'eth1',
-- time template
template7 = '%a %d %b %Y - %H:%M:%S',
};
-- fluxbox adjustment
return_code = os.execute('pidof -q fluxbox')
if _VERSION == 'Lua 5.1' and math.floor(return_code/256) == 0 or
_VERSION ~= 'Lua 5.1' and return_code then
conky.config.own_window_transparent = true
conky.config.own_window_argb_visual = false
end
conky.text = [[
#-----------------------System-----------------------------------
${offset 5}${font Good Times:size=12}${color Tan1}SYSTEM ${color}${hr 2}${font}
${alignc}${font}${color}${offset 6}${execi 86400 cat /etc/mx-version}
${alignc}Kernel: ${kernel}
${alignc}${time %a %d %b %Y - %H:%M:%S}
#-----------------------CPU-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}CPU ${color}${hr 2}${font}
${alignc}${font}${color}${execi 86400 grep -m1 -oP '^model name\s+:\s\K(.*)' /proc/cpuinfo}
${alignc}${color lightgrey}Temperature: ${if_existing /sys/class/hwmon/hwmon3/temp1_input}${eval ${hwmon 3 temp 1}}${else}${if_existing /sys/class/hwmon/hwmon1/temp1_input}${eval ${hwmon 1 temp 1}}${endif}${endif}°C
# CPU0
${alignc}CPU Core Loads
CPU1 ${goto 80} ${cpu cpu1}% ${lua gradbar {4, 238, "${cpu cpu1}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 1} MHz
${voffset 10}CPU2 ${goto 80} ${cpu cpu2}% ${lua gradbar {4, 270, "${cpu cpu2}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 2} MHz
${voffset 10}CPU3 ${goto 80} ${cpu cpu3}% ${lua gradbar {4, 303, "${cpu cpu3}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 3} MHz
${voffset 10}CPU4 ${goto 80} ${cpu cpu4}% ${lua gradbar {4, 336, "${cpu cpu4}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 4} MHz
${voffset 10}CPU5 ${goto 80} ${cpu cpu5}% ${lua gradbar {4, 370, "${cpu cpu5}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 5} MHz
${voffset 10}CPU6 ${goto 80} ${cpu cpu6}% ${lua gradbar {4, 403, "${cpu cpu6}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 6} MHz
${voffset 10}CPU7 ${goto 80} ${cpu cpu7}% ${lua gradbar {4, 436, "${cpu cpu7}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 7} MHz
${voffset 10}CPU8 ${goto 80} ${cpu cpu8}% ${lua gradbar {4, 468, "${cpu cpu8}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 8} MHz
${voffset 10}CPU9 ${goto 80} ${cpu cpu9}% ${lua gradbar {4, 500, "${cpu cpu9}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 9} MHz
${voffset 10}CPU10 ${goto 80} ${cpu cpu10}% ${lua gradbar {4, 533, "${cpu cpu10}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 10} MHz
${voffset 10}CPU11 ${goto 80} ${cpu cpu11}% ${lua gradbar {4, 566, "${cpu cpu11}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 11} MHz
${voffset 10}CPU12 ${goto 80} ${cpu cpu12}% ${lua gradbar {4, 599, "${cpu cpu12}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 12} MHz
#-----------------------Memory Load-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}MEMORY ${color}${hr 2}${font}
${color}RAM Available${color}${alignr}$memmax ${lua gradbar {4, 695, "${memperc}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}
${color}$mem used${alignr}${memperc}% used
#-----------------------Processes----------------------
${offset 10}${font Good Times:size=12}${color Tan1}PROCESSES ${color}${hr 2}${font}
#${running_processes} ${running_threads} ${processes}
${hr 1}${font}
${color lightgrey}${font Futurist Fixed-width:size=10:bold}${color7}${offset 5}PROCESS CPU${alignr} MEMORY ${offset -5}PID
${voffset -10}${color0}${hr 1}${font}${color}${font monofur:size=11}
${voffset -3}#
${offset 5}${top name 1} ${alignr}${top cpu 1}% ${top mem_res 1} ${alignr}${offset -5}${top pid 1}
${offset 5}${top name 2} ${alignr}${top cpu 2}% ${top mem_res 2} ${alignr}${offset -5}${top pid 2}
${offset 5}${top name 3} ${alignr}${top cpu 3}% ${top mem_res 3} ${alignr}${offset -5}${top pid 3}
${offset 5}${top name 4} ${alignr}${top cpu 4}% ${top mem_res 4} ${alignr}${offset -5}${top pid 4}
${offset 5}${top name 5} ${alignr}${top cpu 5}% ${top mem_res 5} ${alignr}${offset -5}${top pid 5}
#-----------------------Network-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}NETWORK ${color}${hr 2}${font}
${voffset -1}
${if_up $template0}\
${goto 10}Wireless:${color3} $template0${color}${goto 145}IP local: ${color3}${addr $template0}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template0}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template0}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template0}${color1}${alignr}${goto 180}${color2}Received: ${color}${color2}${totaldown $template0}
${goto 14}${upspeedgraph $template0 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template0 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template1}\
${goto 10}Wireless: ${color3} $template1${color}${goto 160} IP local: ${color3}${addr $template1}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template1}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template1}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template1}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template1}
${goto 14}${upspeedgraph $template1 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template1 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template2}\
${goto 10}Ethernet: ${color3} $template2${color}${goto 160} IP local: ${color3}${addr $template2}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template2}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template2}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template2}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template2}
${goto 14}${upspeedgraph $template2 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template2 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template3}\
${goto 10}Ethernet: ${color3} $template3${color}${goto 160} IP local: ${color3}${addr $template3}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template3}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template3}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template3}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template3}
${goto 14}${upspeedgraph $template3 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template3 25,140 000000 00FF00}
${voffset -1}\
${endif}
]];
MySysInfoConky-16Core
Code: Select all
conky.config = {
-- My adapted/changed Conky
-- 18 Dec. 2018
double_buffer = true,
update_interval = 1,
background = true,
own_window = true,
own_window_type = 'normal',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
own_window_argb_value = 0,
out_to_console = false,
own_window_transparent = true,
own_window_class = 'conky',
use_xft = true,
font = 'cure:size=12',
xftalpha = 0,
update_interval = 1,
cpu_avg_samples = 1,
net_avg_samples = 1,
double_buffer = true,
maximum_width = 320,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
stippled_borders = 1,
border_width = 0,
default_color = 'white',
default_shade_color = 'white',
default_outline_color = 'white',
alignment = 'top_left',
use_spacer = 'left',
no_buffers = true,
uppercase = false,
color0 = 'white',
color1 = 'green',
color2 = 'white',
color3 = '1793d0',
pad_percents = 2,
top_name_width = 7,
minimum_width = 320, minimum_height = 610,
gap_x = 10,
gap_y = 10,
lua_load = 'allcombined.lua',
own_window_colour = '000000',
-- if_up_strictness link: up | link | address
if_up_strictness = 'address',
-- network templates
template0 = 'wlan0',
template1 = 'wlan1',
template2 = 'eth0',
template3 = 'eth1',
-- time template
template7 = '%a %d %b %Y - %H:%M:%S',
};
-- fluxbox adjustment
return_code = os.execute('pidof -q fluxbox')
if _VERSION == 'Lua 5.1' and math.floor(return_code/256) == 0 or
_VERSION ~= 'Lua 5.1' and return_code then
conky.config.own_window_transparent = true
conky.config.own_window_argb_visual = false
end
conky.text = [[
#-----------------------System-----------------------------------
${offset 5}${font Good Times:size=12}${color Tan1}SYSTEM ${color}${hr 2}${font}
${alignc}${font}${color}${offset 6}${execi 86400 cat /etc/mx-version}
${alignc}Kernel: ${kernel}
${alignc}${time %a %d %b %Y - %H:%M:%S}
#-----------------------CPU-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}CPU ${color}${hr 2}${font}
${alignc}${font}${color}${execi 86400 grep -m1 -oP '^model name\s+:\s\K(.*)' /proc/cpuinfo}
${alignc}${color lightgrey}Temperature: ${if_existing /sys/class/hwmon/hwmon3/temp1_input}${eval ${hwmon 3 temp 1}}${else}${if_existing /sys/class/hwmon/hwmon1/temp1_input}${eval ${hwmon 1 temp 1}}${endif}${endif}°C
# CPU0
${alignc}CPU Core Loads
CPU1 ${goto 80} ${cpu cpu1}% ${lua gradbar {4, 238, "${cpu cpu1}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 1} MHz
${voffset 10}CPU2 ${goto 80} ${cpu cpu2}% ${lua gradbar {4, 270, "${cpu cpu2}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 2} MHz
${voffset 10}CPU3 ${goto 80} ${cpu cpu3}% ${lua gradbar {4, 303, "${cpu cpu3}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 3} MHz
${voffset 10}CPU4 ${goto 80} ${cpu cpu4}% ${lua gradbar {4, 336, "${cpu cpu4}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 4} MHz
${voffset 10}CPU5 ${goto 80} ${cpu cpu5}% ${lua gradbar {4, 370, "${cpu cpu5}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 5} MHz
${voffset 10}CPU6 ${goto 80} ${cpu cpu6}% ${lua gradbar {4, 403, "${cpu cpu6}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 6} MHz
${voffset 10}CPU7 ${goto 80} ${cpu cpu7}% ${lua gradbar {4, 436, "${cpu cpu7}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 7} MHz
${voffset 10}CPU8 ${goto 80} ${cpu cpu8}% ${lua gradbar {4, 468, "${cpu cpu8}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 8} MHz
${voffset 10}CPU9 ${goto 80} ${cpu cpu9}% ${lua gradbar {4, 500, "${cpu cpu9}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 9} MHz
${voffset 10}CPU10 ${goto 80} ${cpu cpu10}% ${lua gradbar {4, 533, "${cpu cpu10}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 10} MHz
${voffset 10}CPU11 ${goto 80} ${cpu cpu11}% ${lua gradbar {4, 566, "${cpu cpu11}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 11} MHz
${voffset 10}CPU12 ${goto 80} ${cpu cpu12}% ${lua gradbar {4, 599, "${cpu cpu12}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 12} MHz
${voffset 10}CPU13 ${goto 80} ${cpu cpu13}% ${lua gradbar {4, 632, "${cpu cpu13}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 13} MHz
${voffset 10}CPU14 ${goto 80} ${cpu cpu14}% ${lua gradbar {4, 665, "${cpu cpu14}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 14} MHz
${voffset 10}CPU15 ${goto 80} ${cpu cpu15}% ${lua gradbar {4, 698, "${cpu cpu15}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 15} MHz
${voffset 10}CPU16 ${goto 80} ${cpu cpu16}% ${lua gradbar {4, 731, "${cpu cpu16}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 16} MHz
#-----------------------Memory Load-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}MEMORY ${color}${hr 2}${font}
${color}RAM Available${color}${alignr}$memmax ${lua gradbar {4, 827, "${memperc}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}
${color}$mem used${alignr}${memperc}% used
#-----------------------Processes----------------------
${offset 10}${font Good Times:size=12}${color Tan1}PROCESSES ${color}${hr 2}${font}
#${running_processes} ${running_threads} ${processes}
${hr 1}${font}
${color lightgrey}${font Futurist Fixed-width:size=10:bold}${color7}${offset 5}PROCESS CPU${alignr} MEMORY ${offset -5}PID
${voffset -10}${color0}${hr 1}${font}${color}${font monofur:size=11}
${voffset -3}#
${offset 5}${top name 1} ${alignr}${top cpu 1}% ${top mem_res 1} ${alignr}${offset -5}${top pid 1}
${offset 5}${top name 2} ${alignr}${top cpu 2}% ${top mem_res 2} ${alignr}${offset -5}${top pid 2}
${offset 5}${top name 3} ${alignr}${top cpu 3}% ${top mem_res 3} ${alignr}${offset -5}${top pid 3}
${offset 5}${top name 4} ${alignr}${top cpu 4}% ${top mem_res 4} ${alignr}${offset -5}${top pid 4}
${offset 5}${top name 5} ${alignr}${top cpu 5}% ${top mem_res 5} ${alignr}${offset -5}${top pid 5}
#-----------------------Network-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}NETWORK ${color}${hr 2}${font}
${voffset -1}
${if_up $template0}\
${goto 10}Wireless:${color3} $template0${color}${goto 145}IP local: ${color3}${addr $template0}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template0}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template0}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template0}${color1}${alignr}${goto 180}${color2}Received: ${color}${color2}${totaldown $template0}
${goto 14}${upspeedgraph $template0 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template0 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template1}\
${goto 10}Wireless: ${color3} $template1${color}${goto 160} IP local: ${color3}${addr $template1}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template1}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template1}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template1}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template1}
${goto 14}${upspeedgraph $template1 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template1 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template2}\
${goto 10}Ethernet: ${color3} $template2${color}${goto 160} IP local: ${color3}${addr $template2}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template2}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template2}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template2}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template2}
${goto 14}${upspeedgraph $template2 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template2 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template3}\
${goto 10}Ethernet: ${color3} $template3${color}${goto 160} IP local: ${color3}${addr $template3}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template3}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template3}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template3}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template3}
${goto 14}${upspeedgraph $template3 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template3 25,140 000000 00FF00}
${voffset -1}\
${endif}
]];
*Update: corrected the memory graph postitioning for cores 2 through 12 now.
*Update #2 Changed the hardcoded desktop name back to original
*Update #3 Changed own_window_type to normal
*Update #4 New code located in post #23
viewtopic.php?p=806168#p806168