Skip to content

Instantly share code, notes, and snippets.

@avoidik
Last active November 19, 2022 20:58
Show Gist options
  • Save avoidik/6cd84b1b75f3873a16d625f6821eeace to your computer and use it in GitHub Desktop.
Save avoidik/6cd84b1b75f3873a16d625f6821eeace to your computer and use it in GitHub Desktop.
conky configuration
conky.config = {
alignment = 'top_right',
background = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'sans-serif:normal:size=8',
gap_x = 10,
gap_y = 10,
minimum_height = 16,
minimum_width = 395,
net_avg_samples = 2,
no_buffers = true,
double_buffer = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'normal',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 50,
own_window_colour = 000000,
stippled_borders = 0,
update_interval = 2.5,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false
}
conky.text = [[
Uptime:${hr 2}
${color grey}${alignr}${uptime}${color}
CPU:${hr 2}
${cpugraph 50,400 ADFFE9 FF972E}
${color grey}${cpubar 20,200}${alignr}${cpu}% / ${freq_g} GHz${color}
RAM:${hr 2}
${memgraph 50,400 ADFFE9 FF972E}
${color grey}${membar 20,200}${alignr}${mem} / ${memmax}${color}
Swap:${hr 2}
${color grey}${swapbar 20,200}${alignr}${swap} / ${swapmax}${color}
FS [ / ]:${hr 2}
${color grey}${fs_bar 20,200 /}${alignr}${fs_used /} / ${fs_size /}${color}
FS [ /home ]:${hr 2}
${color grey}${fs_bar 20,200 /home}${alignr}${fs_used /home} / ${fs_size /home}${color}
Network:${hr 2}
${downspeedgraph wlp0s20f3 50,200 ADFFE9 FF972E} ${upspeedgraph wlp0s20f3 50,200 ADFFE9 FF972E}
${color grey}Download:${color} ${alignr} ${downspeedf wlp0s20f3} KiB/s (${totaldown wlp0s20f3})
${color grey}Upload:${color} ${alignr} ${upspeedf wlp0s20f3} KiB/s (${totalup wlp0s20f3})
${color grey}Signal:${color} ${alignr} ${wireless_link_qual wlp0s20f3}%
Top:${hr 2}
${font sans-serif:bold:size=8}Name ${alignr 4} PID CPU% MEM%${font sans-serif:normal:size=8}
${top name 1} $alignr ${top pid 1} ${top cpu 1}% ${top mem 1}%
${top name 2} $alignr ${top pid 2} ${top cpu 2}% ${top mem 2}%
${top name 3} $alignr ${top pid 3} ${top cpu 3}% ${top mem 3}%
${top name 4} $alignr ${top pid 4} ${top cpu 4}% ${top mem 4}%
${top name 5} $alignr ${top pid 5} ${top cpu 5}% ${top mem 5}%
${top name 6} $alignr ${top pid 6} ${top cpu 6}% ${top mem 6}%
${top name 7} $alignr ${top pid 7} ${top cpu 7}% ${top mem 7}%
${top name 8} $alignr ${top pid 8} ${top cpu 8}% ${top mem 8}%
]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment