Skip to content

Instantly share code, notes, and snippets.

@keil0
Last active November 3, 2020 17:56
Show Gist options
  • Save keil0/3102c1dc916010887b2ec273426ff309 to your computer and use it in GitHub Desktop.
Save keil0/3102c1dc916010887b2ec273426ff309 to your computer and use it in GitHub Desktop.
Conkyrc
conky.config ={
-- CONKY SETTINGS
background = true,
update_interval = 1,
total_run_times = 0,
cpu_avg_samples = 2,
net_avg_samples = 2,
override_utf8_locale = true,
double_buffer = true,
no_buffers = true,
text_buffer_size = 32768,
-- CONKY: WINDOW SPECIFICATIONS
own_window = true,
own_window_argb_value = 192,
own_window_argb_visual = true,
own_window_class = 'conky-semi',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
-- own_window_transparent = true,
own_window_transparent = true,
own_window_type = 'normal',
-- own_window_type = 'desktop',
border_inner_margin = 6,
border_width = 5,
minimum_height = 1080,
minimum_width = 280,
maximum_width = 280,
alignment = 'bottom_right',
gap_x = 1930,
gap_y = 25,
-- GRAPHICS SETTINGS
draw_shades = false,
draw_outline = true,
draw_borders = false,
draw_graph_borders = true,
-- draw_graph_borders = false,
-- TEXT SETTINGS
use_xft = true,
font = 'Montserrat Regular:size=10',
xftalpha = 0.2,
uppercase = false,
-- Pad percentages to this many decimals (0 = no padding)
pad_percents = 2,
-- COLOUR SETTINGS
default_color = 'AAAAAA',
default_shade_color = '333333',
-- default_outline_color = '111111',
default_outline_color = '010101',
color1 = '999999',
color2 = 'CCCCCC',
color3 = 'EEEEEE',
color4 = '444444',
color5 = '555555',
color6 = '666666',
};
conky.text = [[
${voffset 40}
${alignr}${color1}${font Montserrat Bold:size=20}${time %H:%M:%S}${font}${color}${alignr}
${voffset -9}
${alignr}${font Montserrat Light:size=10}${time %A %d %B %Y}${font}${alignr}
${color6}${hr 2}${color}
${voffset -6}
${font Montserrat Light:size=8}${color1}KERNEL:${color}${font} $kernel ${alignr}$machine
${font Montserrat Light:size=8}${color1}UPTIME:${color}${font} ${alignr}$uptime_short
${font Montserrat Light:size=8}${color1}SYSTEM:${color}${font} ${alignr}UBUNTU 20.10
${font :size=11}${color1}MEMORY ${color6}${hr 2}${color}
${voffset -15}
${font :size=10}${font Montserrat Light:size=8}${color1}RAM: ${goto 70}USED:${color}${font} ${alignr}$mem ${goto 200}${font Montserrat Light:size=8}${color1}MAX:${color}${font} ${goto 100}${alignr} $memmax${font}
${color4}${memgraph 15,300, 32CD32 8B0000 -t}${color}
${voffset -20}
${font Montserrat Light:size=8}${color1}RAM %:${color}${font} ${goto 100}$memperc% ${goto 150}${font Montserrat Light:size=8}${color1}SWAP %:${color}${font} ${alignr}$swapperc%
${font :size=11}${color1}CPUs ${color6}${hr 2}${color}
${voffset -15}
${font :size=10}${font Montserrat Light:size=8}${color1}CPU:${color}${font} ${alignr}${color4}Intel Core i5-3570K @ 3.4GHz${color}${font}
${voffset -15}
${font Montserrat Light:size=8}${color1}01 - 04:${color}${font} ${goto 100}${cpu cpu1}% ${goto 150}${cpu cpu2 }% ${goto 200}${cpu cpu3 }% ${goto 250}${cpu cpu4 }%
${voffset -8}
${font Montserrat Light:size=8}${color1}CPU TEMPS:${color}${font} ${font :size=10}${alignr}${hwmon 0 temp 1}°${color4}C${color} ${hwmon 0 temp 2}°${color4}C${color}
# Network
${font :size=11}${color1}NETWORK ${color6}${hr 2}${color}
${voffset -15}
${font :size=10}${font Montserrat Light:size=8}${color1}SPEED: ${goto 70}UP:${color}${font} ${alignr}${upspeed enp3s0} ${goto 180}${font Montserrat Light:size=8}${color1}DOWN:${color}${font} ${goto 220}${alignr}${downspeed enp3s0}${font}
${voffset -6}
${font Montserrat Light:size=8}${color1}UPLOAD: ${color}${font} ${goto 80}${color4}${upspeedgraph enp3s0 15,210 ADFF2F 32CD32 -t}${color}
${voffset -14}
${font Montserrat Light:size=8}${color1}DOWN:${color}${font} ${goto 80}${color4}${downspeedgraph enp3s0 15,210 FF0000 8B0000 -t}${color}
${voffset -14}
${font :size=10}${font Montserrat Light:size=8}${color1}TOTAL: ${goto 70}UP:${color}${font} ${goto 120}${totalup enp4s0} ${goto 180}${font Montserrat Light:size=8}${color1}DOWN:${color}${font} ${goto 220}${alignr}${totaldown enp4s0}${font}
${voffset 6}
${font :size=11}${color1}DISKS ${color6}${hr 2}${color}
${voffset -15}
${font :size=10}${font Montserrat Light:size=8}${color1}HD HOME:${color}${font} ${goto 100}${fs_used /home} ${color4}/${color} ${fs_size /home} ${alignr} ${fs_free_perc /home}%${font}
${voffset -12}
${font Montserrat Light:size=8}${color1}HD DATA:${color}${font} ${goto 100}${fs_used /media/keilo/App} ${color4}/${color} ${fs_size /media/keilo/App} ${alignr}${fs_free_perc /media/keilo/App}%
${voffset -6}
${font Montserrat Light:size=8}${color1}DISK I/O:${color}${font} ${alignr}$diskio
${voffset -6}
${font Montserrat Light:size=8}${color1}READ: ${color}${font} ${goto 80}${color4}${diskiograph_read 15,210 ADFF2F 32CD32 750}${color}
${voffset -14}
${font Montserrat Light:size=8}${color1}WRITE:${color}${font} ${goto 80}${color4}${diskiograph_write 15,210 FF0000 8B0000 750}${color}
${voffset 6}
${font :size=11}${color1}PROCESSES ${color6}${hr 2}${color}
${voffset -15}
${font :size=10}${font Montserrat Light:size=8}${color1}TOTAL:${color}${font} ${alignr}${processes} ${color4}${font :size=8}processes${font}${color}${font}
${voffset -8}
${font Montserrat Light:size=9}${color1}APP NAME: ${goto 160}MEMORY: ${goto 245}CPU: ${color}${font}
${voffset -8}
${font Montserrat Light:size=9}${color1}${top_mem name 1} ${color}${font} ${goto 160}${top mem 1} % ${goto 235}${top cpu 1} %
${font Montserrat Light:size=9}${color1}${top_mem name 2} ${color}${font} ${goto 160}${top mem 2} % ${goto 235}${top cpu 2} %
${font Montserrat Light:size=9}${color1}${top_mem name 3} ${color}${font} ${goto 160}${top mem 3} % ${goto 235}${top cpu 3} %
${font Montserrat Light:size=9}${color1}${top_mem name 4} ${color}${font} ${goto 160}${top mem 4} % ${goto 235}${top cpu 4} %
${voffset 6}
]];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment