Skip to content

Instantly share code, notes, and snippets.

@mothdotmonster
Created June 22, 2021 05:36
Show Gist options
  • Save mothdotmonster/54c37c547351c5801b302cca0d12b479 to your computer and use it in GitHub Desktop.
Save mothdotmonster/54c37c547351c5801b302cca0d12b479 to your computer and use it in GitHub Desktop.
conkyrc
-- just a conky config. probably won't work on your machine without tweaks, but feel free to use for whatever.
conky.config = {
alignment = 'top_right',
border_width = 1,
cpu_avg_samples = 1,
default_color = 'white',
default_outline_color = 'white',
double_buffer = true,
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
extra_newline = false,
font = 'Fira Code:size=12',
font1 = 'Noto Sans Display:size=64',
gap_x = 60,
gap_y = 60,
minimum_height = 5,
minimum_width = 5,
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_argb_visual = true,
own_window_class = 'Conky',
own_window_type = 'desktop',
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,
}
conky.text = [[
${alignc}$font1${time %I:%M}$font
${alignc}${time %A, %B %-d %Y}
${alignc}CPU
Ryzen 7 3700X${alignr}${hwmon 0 temp 1}°C ${alignr}${freq_g}GHz
${cpubar cpu0 16}
${cpubar cpu1 16,128} ${cpubar cpu2 16,128}
${cpubar cpu3 16,128} ${cpubar cpu4 16,128}
${cpubar cpu5 16,128} ${cpubar cpu6 16,128}
${cpubar cpu7 16,128} ${cpubar cpu8 16,128}
${cpubar cpu9 16,128} ${cpubar cpu10 16,128}
${cpubar cpu11 16,128} ${cpubar cpu12 16,128}
${cpubar cpu13 16,128} ${cpubar cpu14 16,128}
${cpubar cpu15 16,128} ${cpubar cpu16 16,128}
${alignc}GPU
GTX 1050 Ti${alignr}${nvidia temp 0}°C ${alignr}${nvidia gpufreq 0}MHz
${nvidiabar 16 gpuutil 0}
${alignc}DISK
/ $alignr ${fs_used /}/${fs_size /}
${fs_bar 16 /}
/home $alignr ${fs_used /home}/${fs_size /home}
${fs_bar 16 /home}
${alignc}MEMORY
RAM ${alignr}${mem}/${memmax}
${membar 16}
VRAM ${alignr}${nvidia memused 0} MiB/${nvidia memmax 0} MiB
${nvidiabar 16 memutil 0}
]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment