Skip to content

Instantly share code, notes, and snippets.

@blumonkey
Last active October 25, 2023 03:40
Show Gist options
  • Save blumonkey/4c93ef674e628396a10f18534e316637 to your computer and use it in GitHub Desktop.
Save blumonkey/4c93ef674e628396a10f18534e316637 to your computer and use it in GitHub Desktop.
conky config
conky.config = {
background = true,
update_interval = 1.5,
cpu_avg_samples = 2,
net_avg_samples = 2,
out_to_console = false,
override_utf8_locale = true,
double_buffer = true,
no_buffers = true,
text_buffer_size = 32768,
imlib_cache_size = 0,
own_window = true,
own_window_type = 'normal',
own_window_argb_visual = true,
own_window_argb_value = 200,
own_window_hints = 'undecorated,skip_pager,sticky',
border_inner_margin = 10,
border_outer_margin = 0,
xinerama_head = 2,
alignment = 'top_right',
gap_x = 0,
gap_y = 0,
draw_shades = true,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
use_xft = true,
font = 'Ubuntu Mono:size=12',
xftalpha = 0.8,
uppercase = false,
default_color = '#FFFFFF',
own_window_colour = '#000000',
minimum_width = 0, minimum_height = 0,
};
conky.text = [[
${color #DD3A21}hermes${color}${goto 200}${font Font Awesome 6 Free Solid}${font}${voffset -2} ${time %d/%m/%y} ${font Font Awesome 6 Free Solid}${font}${voffset -2} ${time %H:%M}
${hr}
${font Font Awesome 6 Free Solid}${font}${voffset -2} ${mem}/${memmax} (${memperc}%) | Swap: ${swapperc}%
${goto 20}${memgraph 30,355 AAF5D0 00B35B}
${hr}
${goto 20}CPU0: ${cpu cpu0}%${goto 100}${cpubar 7,80 cpu0}${goto 222}CPU4: ${cpu cpu4}%${goto 302}${cpubar 7,80 cpu4}
${goto 20}CPU1: ${cpu cpu1}%${goto 100}${cpubar 7,80 cpu1}${goto 222}CPU5: ${cpu cpu5}%${goto 302}${cpubar 7,80 cpu5}
${goto 20}CPU2: ${cpu cpu2}%${goto 100}${cpubar 7,80 cpu2}${goto 222}CPU6: ${cpu cpu6}%${goto 302}${cpubar 7,80 cpu6}
${goto 20}CPU3: ${cpu cpu3}%${goto 100}${cpubar 7,80 cpu3}${goto 222}CPU7: ${cpu cpu7}%${goto 302}${cpubar 7,80 cpu7}
${hr}
${font Font Awesome 6 Free Solid}${font}${voffset 2}
${goto 20}${execigraph 60 "sensors | grep 'Tctl' | awk '{print substr($2,2);}'" 30,178 06E9F8 2104FA}${goto 202}${execigraph 60 "nvidia-settings -query [gpu:0]/GPUCoreTemp -t" 30,178 FFFF00 DD3A21}
${goto 20}CPU/iGPU ${hwmon 1 temp 1}/${hwmon 2 temp 1}°C ${goto 202}GPU ${execi 60 nvidia-settings -query [gpu:0]/GPUCoreTemp -t}°C
${hr}
${font Font Awesome 6 Free Solid}${font}${voffset -2}${goto 160}${color #3e5570}Used ${color}${fs_used /} ${color #3e5570}Total ${color}${fs_size /}
${color 80a8a4}${fs_bar 7,350}${color}
${goto 20}${diskiograph_read 30,178 06E9F8 2104FA}${goto 202}${diskiograph_write 30,175 FFFF00 DD3A21}
${font Font Awesome 6 Free Solid}${goto 20}${font} ${diskio_read}${font Font Awesome 6 Free Solid}${goto 202}${font} ${diskio_write}
${hr}
${font Font Awesome 6 Free Solid}${font}${voffset -2} ${addrs wlp13s0}
${goto 20}${upspeedgraph wlp13s0 30,178 06E9F8 2104FA}${goto 202}${downspeedgraph wlp13s0 30,175 FFFF00 DD3A21}
${font Font Awesome 6 Free Solid}${goto 20}${font} ${upspeed wlp13s0}${font Font Awesome 6 Free Solid}${goto 202}${font} ${downspeed wlp13s0}
${hr}
${color #FFFF00}${goto 20}Name ${goto 200}Pid${goto 255}Cpu%${goto 310}Mem%${color}
${goto 20}${top name 1} ${goto 180}${top pid 1}${goto 235}${top cpu 1}${goto 290}${top mem 1}
${goto 20}${top name 2} ${goto 180}${top pid 2}${goto 235}${top cpu 2}${goto 290}${top mem 2}
${goto 20}${top name 3} ${goto 180}${top pid 3}${goto 235}${top cpu 3}${goto 290}${top mem 3}
${goto 20}${top name 4} ${goto 180}${top pid 4}${goto 235}${top cpu 4}${goto 290}${top mem 4}
${goto 20}${top name 5} ${goto 180}${top pid 5}${goto 235}${top cpu 5}${goto 290}${top mem 5}
]];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment