Conky – konfiguracje

      Brak komentarzy do Conky – konfiguracje

Minimalistyczne i lekkie konfiguracje conky.

conky1

conky.config = {
background = false,
use_xft = true,
font = 'fixed:size=8',
xftalpha = 1,
update_interval = 1.0,
total_run_times = 0,
own_window = true,
own_window_transparent = true,
own_window_argb_visual = true,
own_window_type = 'normal',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
double_buffer = true,
minimum_width = 250, minimum_height = 250,
maximum_width = 175,
draw_shades = true,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
default_color = 'white',
default_shade_color = 'black',
default_outline_color = 'white',
alignment = 'top_right',
gap_x = 12,
gap_y = 50,
uppercase = false,
cpu_avg_samples = 2,
override_utf8_locale = true,
--####################
--  Output
--####################
};

conky.text = [[
SYSTEM INFO
${hr}
${exec lsb_release -ds}
${sysname} - ${kernel}
${hr}
Host:$alignr$nodename
Uptime:$alignr$uptime

ZASOBY
${hr}
CPU0:$alignr${cpu cpu0}%
${font fixed:normal:size=8}${cpugraph cpu0}
CPU1:$alignr${cpu cpu1}%
${font fixed:normal:size=8}${cpugraph cpu1}
CPU2:$alignr${cpu cpu2}%
${font fixed:normal:size=8}${cpugraph cpu2}
CPU3:$alignr${cpu cpu3}%
${font fixed:normal:size=8}${cpugraph cpu3}
--------------------------------------------------------------
RAM:$alignr$mem/$memmax
SWAP:$alignr$swap/$swapmax

DYSKI
${hr}
System:$alignr${fs_used /}/${fs_size /}
Home:$alignr${fs_used /home}/${fs_size /home}
Dane:$alignr${fs_used /media/magazyn}/${fs_size /media/magazyn}

SIEĆ
${hr}
Adres IP: $alignr ${addr wlp9s0}

Download: $alignr ${downspeed wlp9s0}/s
Total: $alignr ${totaldown wlp9s0}
Upload: $alignr ${upspeed wlp9s0}/s
Total: $alignr ${totalup wlp9s0}
]];

conky2

conky.config = {
	background = true,
	use_xft = true,
	font = 'HandelGotD:size=9',
	xftalpha = 0.5,
	update_interval = 1.0,
	total_run_times = 0,
	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = true,
	own_window_argb_visual = true,
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
	double_buffer = true,
	minimum_width = 200, minimum_height = 5,
	maximum_width = 200,
	draw_shades = false,
	draw_outline = false,
	draw_borders = false,
	draw_graph_borders = false,
	default_color = 'white',
	default_shade_color = 'red',
	default_outline_color = 'green',
	alignment = 'top_right',
	gap_x = 12,
	gap_y = 48,
	no_buffers = true,
	uppercase = false,
	cpu_avg_samples = 2,
	override_utf8_locale = false,

};

conky.text = [[
$sysname $kernel on $machine

Uptime $alignr $uptime
Load $alignr $loadavg

Hostname $alignr $nodename
enp4s0 $alignr ${addr enp4s0}

Inbound $alignr ${downspeed enp4s0} kb/s
${downspeedgraph enp4s0}
Outbound $alignr ${upspeed enp4s0} kb/s
${upspeedgraph enp4s0}

$processes processes ($running_processes running)

CPU $alignr ${cpu cpu0}%
${cpubar cpu0}

MEM $alignc $mem / $memmax $alignr $memperc%
$membar

/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}

/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}

swap $alignc $swap / $swapmax $alignr $swapperc%
${swapbar}
]];

conky3

conky.config = {
	background = true,
	use_xft = true,
	font = 'Sans:size=10',
	xftalpha = 1,
	update_interval = 1.0,
	total_run_times = 0,
	own_window = true,
	own_window_transparent = true,
	own_window_argb_visual = true,
	own_window_argb_value = 0,
	own_window_type = 'desktop',
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
	double_buffer = true,
	minimum_width = 200, minimum_height = 200,
	maximum_width = 215,
	draw_shades = true,
	draw_outline = false,
	draw_borders = false,
	draw_graph_borders = true,
	default_color = 'white',
	default_shade_color = 'black',
	default_outline_color = 'white',
	alignment = 'top_right',
	gap_x = 12,
	gap_y = 52,
	no_buffers = true,
	uppercase = false,
	cpu_avg_samples = 2,
	override_utf8_locale = 'yes',

};

conky.text = [[
${hr 2}
${font Ubuntu:style=Bold:pixelsize=15}${alignc}${time %e %B %G}${font Ubuntu:size=10}
${font Ubuntu:style=Bold:pixelsize=20}${alignc}${time %A}${font Ubuntu:size=10}

${font sans-serif:bold:size=10}SYSTEM ${hr 2}
${font sans-serif:normal:size=10}$sysname $kernel $alignr $machine
Host:$alignr$nodename
Uptime:$alignr$uptime
File System: $alignr${fs_type}

${font sans-serif:bold:size=10}PROCESOR ${hr 2}
${font sans-serif:normal:size=10}AMD Ryzen 5 3600X (${freq} MHz)
${font sans-serif:normal:size=10}#${cpugraph cpu1}
CPU0: ${cpu cpu1}% ${cpubar cpu0}
CPU1: ${cpu cpu1}% ${cpubar cpu1}
CPU2: ${cpu cpu1}% ${cpubar cpu2}
CPU3: ${cpu cpu1}% ${cpubar cpu3}
CPU4: ${cpu cpu1}% ${cpubar cpu4}
CPU5: ${cpu cpu1}% ${cpubar cpu5}
CPU6: ${cpu cpu1}% ${cpubar cpu6}
CPU7: ${cpu cpu1}% ${cpubar cpu7}
CPU8: ${cpu cpu1}% ${cpubar cpu8}
CPU9: ${cpu cpu1}% ${cpubar cpu9}
CPU10: ${cpu cpu1}% ${cpubar cpu10}
CPU11: ${cpu cpu1}% ${cpubar cpu11}

${font sans-serif:bold:size=10}PAMIĘĆ ${hr 2}
${font sans-serif:normal:size=10}RAM $alignc $mem / $memmax $alignr $memperc%
$membar

${font sans-serif:bold:size=10}DISKI ${hr 2}
${font sans-serif:normal:size=10}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
${font sans-serif:normal:size=10}/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}%
${fs_bar /home}
${font sans-serif:normal:size=10}magazyn $alignc ${fs_used /mnt/magazyn} / ${fs_size /mnt/magazyn} $alignr ${fs_used_perc /mnt/magazyn}%
${fs_bar /mnt/magazyn}

${font sans-serif:bold:size=10}PROCESY ${hr 2}
${font sans-serif:normal:size=10}${top_mem name 1}${alignr}${top mem 1} %
${top_mem name 2}${alignr}${top mem 2} %
$font${top_mem name 3}${alignr}${top mem 3} %
$font${top_mem name 4}${alignr}${top mem 4} %
$font${top_mem name 5}${alignr}${top mem 5} %

${font sans-serif:bold:size=10}SIEĆ ${hr 2}
${font sans-serif:normal:size=10}Adres IP: $alignr ${addr enp4s0}
${downspeedgraph enp4s0}
DL:${downspeed enp4s0} kb/s $alignr łącznie: ${totaldown enp4s0}
${upspeedgraph enp4s0}
UL:${upspeed enp4s0} kb/s $alignr łącznie: ${totalup enp4s0}
]];

conky4

conky.config = {
	alignment = 'bottom_left',
	background = false,
	use_xft = true,
	font = 'Ubuntu:size=8',
	xftalpha = 0.0,
	update_interval = 1.0,
	total_run_times = 0,
	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = true,
	own_window_argb_visual = true,
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
	double_buffer = true,
	minimum_width = 250, minimum_height = 5,
	maximum_width = 250,
	draw_shades = true,
	draw_outline = false,
	draw_borders = false,
	draw_graph_borders = true,
	default_color = 'black',
	default_shade_color = 'black',
	default_outline_color = 'white',
	alignment = 'top_right',
	gap_x = 10,
	gap_y = 50,
	no_buffers = true,
	uppercase = false,
	override_utf8_locale = true,
	text_buffer_size = 2048,
	default_color = '#ffffff',
--default_color f2f1f0

};

conky.text = [[
${font Ubuntu:style=Bold:pixelsize=15}${alignc}${time %e %B %G}${font Ubuntu:size=8}
${font Ubuntu:style=Bold:pixelsize=20}${alignc}${time %A}${font Ubuntu:size=8}
${hr 1}
${font OpenLogos:size=20}${font Ubuntu:size=8}${voffset -10}${offset 5}${font Ubuntu:size=9}$sysname $kernel ($machine)
#  ${pre_exec lsb_release -d | cut -f 2| tr "[:upper:]" "[:upper:]"}${font Ubuntu:size=8}
${hr 1}
${font StyleBats:size=20}${font Ubuntu:size=8}${voffset -7}${offset 5}${font Ubuntu:size=9}Uruchomiony: $alignr $uptime${font Ubuntu:size=8}
${hr 1}
${font Martin Vogel's Symbols:size=20}${font Ubuntu:size=8}${voffset -10}${offset 5}${font Ubuntu:size=13}Sieć:${font Ubuntu:size=8}
${voffset 4}Wewnętrzny Adres IP: $alignr${addr enp4s0}
Brama: $alignr${gw_ip enp4s0}
${voffset 1}${color #4c4c4c}${downspeedgraph enp4s0 12, 95}${goto 110}${upspeedgraph enp3s0 12, 95}${color}
${voffset -13}${goto 6}Down${goto 45}${downspeed enp4s0} ${goto 111}Up ${goto 135}${upspeed enp4s0}
${voffset -13}
Pobrano${color}${alignr}Wysłano${color}
${voffset 4}${totaldown enp4s0}${alignr}${totalup enp4s0}
${hr 1}
${font StyleBats:size=20}${font Ubuntu:size=8}${voffset -10}${offset 5}${font Ubuntu:size=13}Procesor:${font Ubuntu:size=8}
${voffset 4}AMD Ryzen 5 3600X (${freq} MHz)
${color #4c4c4c}${cpubar cpu0 12}${color}
${voffset -13}${goto 6}Obciążenie: ${cpu cpu0}% ${goto 100}Procesy: $processes ${alignr}Akt.: $running_processes
${color #4c4c4c}${cpubar cpu1 12}${color}
${voffset -13}${goto 6}Obciążenie: ${cpu cpu1}% ${goto 100}Procesy: $processes ${alignr}Akt.: $running_processes
${color #4c4c4c}${cpubar cpu3 12}${color}
${voffset -13}${goto 6}Obciążenie: ${cpu cpu03}% ${goto 100}Procesy: $processes ${alignr}Akt.: $running_processes
${color #4c4c4c}${cpubar cpu4 12}${color}
${voffset -13}${goto 6}Obciążenie: ${cpu cpu4}% ${goto 100}Procesy: $processes ${alignr}Akt.: $running_processes
${color #4c4c4c}${cpubar cpu5 12}${color}
${voffset -13}${goto 6}Obciążenie: ${cpu cpu5}% ${goto 100}Procesy: $processes ${alignr}Akt.: $running_processes
${color #4c4c4c}${cpubar cpu6 12}${color}
${voffset -13}${goto 6}Obciążenie: ${cpu cpu6}% ${goto 100}Procesy: $processes ${alignr}Akt.: $running_processes
${color #4c4c4c}${cpubar cpu7 12}${color}
${voffset -13}${goto 6}Obciążenie: ${cpu cpu7}% ${goto 100}Procesy: $processes ${alignr}Akt.: $running_processes
${color #4c4c4c}${cpubar cpu8 12}${color}
${voffset -13}${goto 6}Obciążenie: ${cpu cpu8}% ${goto 100}Procesy: $processes ${alignr}Akt.: $running_processes
${color #4c4c4c}${cpubar cpu9 12}${color}
${voffset -13}${goto 6}Obciążenie: ${cpu cpu9}% ${goto 100}Procesy: $processes ${alignr}Akt.: $running_processes
${color #4c4c4c}${cpubar cpu10 12}${color}
${voffset -13}${goto 6}Obciążenie: ${cpu cpu10}% ${goto 100}Procesy: $processes ${alignr}Akt.: $running_processes
${color #4c4c4c}${cpubar cpu11 12}${color}
${voffset -13}${goto 6}Obciążenie: ${cpu cpu11}% ${goto 100}Procesy: $processes ${alignr}Akt.: $running_processes
${color #4c4c4c}${cpubar cpu12 12}${color}
${voffset -13}${goto 6}Obciążenie: ${cpu cpu12}% ${goto 100}Procesy: $processes ${alignr}Akt.: $running_processes

Aplikacje$alignr %
${voffset 4}${top name 1}$alignr${top cpu 1}
${top name 2}$alignr${top cpu 2}
${top name 3}$alignr${top cpu 3}
${hr 1}
${font StyleBats:size=20}${font Ubuntu:size=8}${voffset -10}${offset 5}${font Ubuntu:size=13}Pamięć:${font Ubuntu:size=8}
${voffset 4}Użycie pamięci:
${color #4c4c4c}${membar 12}${color}
${voffset -13}${goto 6}RAM${goto 100}$mem / $memmax ${goto 210}$memperc%

Aplikacje$alignr %
${voffset 4}${top_mem name 1}$alignr${top mem_res 1}
${top_mem name 2}$alignr${top mem_res 2}
${hr 1}
${font StyleBats:size=20}${font Ubuntu:size=8}${voffset -10}${offset 5}${font Ubuntu:size=13}Dyski:${font Ubuntu:size=8}
${voffset 4}Zużycie miejsca na dyskach:
${color #4c4c4c}${membar 12}${color}
${voffset -13}${goto 6}/${goto 100}${fs_used /} / ${fs_size /} ${goto 210}${fs_used_perc /}%
${color #4c4c4c}${membar 12}${color}${goto 6}/home${goto 100}${fs_used /home} / ${fs_size /home} ${goto 210}${fs_used_perc /home}%
${color #4c4c4c}${membar 12}${color}${goto 6}magazyn${goto 100}${fs_used /mnt/magazyn} / ${fs_size /mnt/magazyn} ${goto 210}${fs_used_perc /mnt/magazyn}%
${color #4c4c4c}${membar 12}${color}${goto 6}swap${goto 100}$swap / $swapmax ${goto 210}$swapperc%

]];

conky5

conky.config = {
	alignment = 'top_right',
	background = true,
	cpu_avg_samples = 5,
	net_avg_samples = 5,
	out_to_console = false,
	update_interval = 2,
	double_buffer = true,
	minimum_width = 5, minimum_height = 5,
	draw_shades = true,
	draw_outline = false,
	draw_borders = true,
	stippled_borders = 0,
	border_width = 2,
	default_color = 'black',
	default_outline_color = 'white',
	default_shade_color = 'black',
	draw_borders = false,
	draw_graph_borders = true,
	draw_outline = false,
	draw_shades = false,
	gap_x = 20,
	gap_y = 100,
	minimum_width = 5, minimum_height = 300,
	maximum_width = 300,
	net_avg_samples = 2,
	no_buffers = true,
	out_to_console = false,
	out_to_stderr = false,
	extra_newline = false,
	own_window = true,
	own_window_class = 'Conky',
	own_window_colour = '#ffffff',
	own_window_type = 'desktop',
	own_window_transparent = true,
	own_window_argb_visual = true,
	stippled_borders = 0,
	uppercase = false,
	use_spacer = 'right',
	mpd_host = '0.0.0.0',
	mpd_port = 6600,
	use_xft = true,
	font = 'Courier 10 Pitch 426:size=8',
	xftalpha = 0.8,

-- stuff after 'TEXT' will be formatted on screen
};

conky.text = [[
#${image ~/conky.png -s 300x225}
${font Arial:size=9}${color #e43526}SYSTEM ${color DarkSlateGray}${hr 2}{$font}
${color #597DB2}Kernel: ${color #000000}$kernel ${color #597DB2}${alignr}Uptime: ${color #000000}$uptime
${color #597DB2}CPU   : ${color #000000}$freq MHz   $cpu%
${color #597DB2}${cpugraph 15,300 fef7b2 e18522}
${color #597DB2}RAM	${alignr}:	${color #000000}$memmax     $memperc% ${color #597DB2}${membar 6,150}

${font Arial:size=9}${color #e43526}DISK ${color DarkSlateGray}${hr 2}{$font}
${color #597DB2}/	${alignr}:	${color #000000}${fs_size /}     ${fs_used_perc /}% ${color #597DB2}${fs_bar 6,150 /}
${color #597DB2}/home	${alignr}:	${color #000000}${fs_size /home}     ${fs_used_perc /home}% ${color #597DB2}${fs_bar 6,150 /home}

${font Arial:size=9}${color #e43526}PROCESSES ${color DarkSlateGray}${hr 2}{$font}
${color #597DB2}Processes: ${color #000000}$processes  ${alignr}${color #597DB2}Running: ${color #000000}$running_processes

${color #597DB2}CPU Usage ${alignr}PID   CPU%  MEM%
  ${color #000000}${top name 1}${alignr}${top pid 1}  ${top cpu 1}  ${top mem 1} 
  ${color #000000}${top name 2}${alignr}${top pid 2}  ${top cpu 2}  ${top mem 2} 
  ${color #000000}${top name 3}${alignr}${top pid 3}  ${top cpu 3}  ${top mem 3} 
${color #597DB2}Memory Usage 
  ${color #000000}${top_mem name 1}${alignr}${top_mem pid 1}  ${top_mem cpu 1}  ${top_mem mem 1} 
  ${color #000000}${top_mem name 2}${alignr}${top_mem pid 2}  ${top_mem cpu 2}  ${top_mem mem 2} 
  ${color #000000}${top_mem name 3}${alignr}${top_mem pid 3}  ${top_mem cpu 3}  ${top_mem mem 3} 

${font Arial:size=9}${color #e43526}NETWORK ${color DarkSlateGray}${hr 2}{$font}
${color #597DB2}Local IP : ${color #000000}${addr enp4s0} ${alignr}${color #597DB2}Public IP : ${color #000000}${texeci 1800 curl ifconfig.co}

${color #597DB2}Down : ${color #000000}${downspeed enp4s0}${color #597DB2}${alignr}Total : ${color #000000}${totaldown enp4s0}
${color #597DB2}${downspeedgraph enp4s0 15,300 fef7b2 ff0000}
${color #597DB2}Up     : ${color #000000}${upspeed enp4s0}${color #597DB2}${alignr}Total : ${color #000000}${totalup enp4s0}
${color #597DB2}${upspeedgraph enp4s0 15,300 fef7b2 00ff00}$color
]];

conky6

conky.config = {
	background = true,
	use_xft = true,
	font = 'denmark:size=9',
	xftalpha = 0.8,
	out_to_console = false,
	update_interval = 1.0,
	total_run_times = 0,
	draw_shades = false,

	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = true,
	own_window_argb_visual = true,
	own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below',

	minimum_width = 690, minimum_height = 0,

	double_buffer = true,
	default_color = '#9E9D9C',
	color1 = '#FFFFFF',
	alignment = 'bottom_left',
	gap_x = 540,
	gap_y = 30,
	no_buffers = true,
--use_spacer right

};

conky.text = [[
${color}Welcome ${color1}${exec whoami} ${color}@ ${color1}$nodename !	${color}kernel: ${color1}$kernel ${color}uptime: ${color1}$uptime     
${color}core0: ${color1}${cpu cpu0}% ${cpugraph 6,40 cpu0} ${freq}MHz	${color}core 1: ${color1}${cpu cpu1}% ${cpugraph 6,40 cpu1} ${freq}MHz	${color}core 2: ${color1}${cpu cpu2}% ${cpugraph 6,40 cpu2} ${freq}MHz	${color}core 3: ${color1}${cpu cpu3}% ${cpugraph 6,40 cpu3} ${freq}MHz	${color}mem: ${color1}$memperc% ${membar 6,40}
${color}home: ${color1}${fs_free /home} free     ${color}root: ${color1}${fs_free /} free     ${color}swap: ${color1}$swapperc% ${swapbar 6,40}     ${color}ip: ${color1}${addr enp4s0}     ${color}network down: ${color1}${downspeed enp4s0} kb/s ${color}up: ${color1}${upspeed enp4s0} kb/s

]];