Skip to content

Instantly share code, notes, and snippets.

@Cipher7
Last active January 21, 2022 16:20
Show Gist options
  • Save Cipher7/3618d20e45e6cce7f9f861b96c12bfa6 to your computer and use it in GitHub Desktop.
Save Cipher7/3618d20e45e6cce7f9f861b96c12bfa6 to your computer and use it in GitHub Desktop.
Conky config file
-- Conky Config File
--
-- Created on: Wed, 20 Jan 2022
--
-- ____ _ _ ___ ___ _____
-- / ___(_)_ __ | |__ ___ _ __ / _ \ / _ \___ |
-- | | | | '_ \| '_ \ / _ \ '__| | | | | | | / /
-- | |___| | |_) | | | | __/ | | |_| | |_| |/ /
-- \____|_| .__/|_| |_|\___|_| \___/ \___//_/
-- |_|
--
conky.config = {
alignment = 'top_right',
background = true,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
double_buffer = true,
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
extra_newline = false,
font = 'DejaVu Sans Mono:size=12',
gap_x = 60,
gap_y = 60,
minimum_height = 5,
minimum_width = 330,
maximum_width = 330,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'override',
own_window_transparent = true,
show_graph_range = false,
show_graph_scale = false,
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
use_xft = true,
--Colour Codes
color1 = '#00bfff',
color2 = '#9ecaff',
color3 = '#59f1ff',
}
conky.text = [[
${voffset 4}${font GE Inspira:size=36}${alignc}${time %l}:${time %M} ${time %p}${font}
${voffset 4}${font GE Inspira:size=12}${alignc}${time %A} ${time %B} ${time %e}, ${time %Y}${font}
${color1}${font Roboto:size=10}${voffset 2}S Y S T E M ${color}${color3}${hr 2}${font}${color}
${color2}${voffset 8}Hostname:${color} ${alignr}${nodename}
${color2}Distro: ${color}${alignr}$sysname ${alignr}${execi 6000 lsb_release -a | grep 'Description'|awk {'print $3, $4, $5'}}
${color2}Kernel: ${color}${alignr}${exec uname} ${exec uname -r}
${color2}Uptime: ${color}${alignr}${uptime}
${color1}${font Roboto:size=10}P R O C E S S O R S ${color}${color3}${hr 2}${font}${color}
${color2}CPU Freq: ${color}$alignr${freq}MHz
${color2}CPU Temp: ${color}$alignr${execi 10 sensors | grep 'Core 0' | awk {'print $3'}}
${color2}Usage: ${color}${alignr}${cpugraph 10,200}
${color2}${offset 30}CPU Core 1: ${color}${alignr}${cpu cpu1}%
${color2}${offset 30}CPU Core 2: ${color}${alignr}${cpu cpu2}%
#${offset 30}CPU Core 3: ${alignr}${cpu cpu3}%
#${offset 30}CPU Core 4: ${alignr}${cpu cpu4}%
${color1}${font Roboto:size=10}M E M O R Y ${color}${color3}${hr 2}${font}${color}
${color2}RAM: ${color}${alignr}$memperc% ${membar 6,100}
${color2}Swap:${color}${alignr}$swapperc% ${swapbar 6,100}
${color1}${font Roboto:size=10}F I L E S Y S T E M S ${color}${color3}${hr 2}${font}${color}
/ ${fs_used }/${fs_size} ${fs_bar 6 /}
${color1}${font Roboto:size=10}P R O C E S S E S ${color}${color3}${hr 2}${font}${color}
${color2}Name CPU% MEM%${color}
${top name 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top cpu 4} ${top mem 4}
]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment