Skip to content

Instantly share code, notes, and snippets.

@prashunchitkr
Created March 4, 2020 10:24
Show Gist options
  • Save prashunchitkr/3e6e573743ca8ff0ddc18d8be79edb8b to your computer and use it in GitHub Desktop.
Save prashunchitkr/3e6e573743ca8ff0ddc18d8be79edb8b to your computer and use it in GitHub Desktop.
conky.config = {
alignment = 'bottom_right',
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 = 'desktop',
own_window_class = 'Conky',
own_window_argb_visual = true,
own_window_transparent = true,
own_window_argb_value = 120,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
border_outer_margin = 0,
xinerama_head = 2,
gap_x = 10,
gap_y = 30,
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}prashun@fsociety${color}${goto 200}${font Font Awesome 5 Free:style=Solid:size=12}${font}${voffset -2} ${time %Y/%m/%d} ${font Font Awesome 5 Free:style=Solid:size=12}${font}${voffset -2} ${time %H:%M}
${hr}
${font Font Awesome 5 Free:style=Solid:size=12}${font}${voffset -2} ${addrs wlp3s0}
${goto 20}${upspeedgraph wlp3s0 30,178 06E9F8 2104FA -l}${goto 202}${downspeedgraph wlp3s0 30,175 FFFF00 DD3A21 -l}
${font Font Awesome 5 Free:style=Solid:size=12}${goto 20}${font} ${upspeed wlp3s0}${font Font Awesome 5 Free:style=Solid:size=12}${goto 202}${font} ${downspeed wlp3s0}
${hr}
${font Font Awesome 5 Free:style=Solid:size=12} Storage${font}${voffset -2}
${goto 20}${diskiograph_read 30,178 06E9F8 2104FA}${goto 202}${diskiograph_write 30,175 FFFF00 DD3A21}
${font Font Awesome 5 Free:style=Solid:size=12}${goto 20}${font} ${diskio_read}${font Font Awesome 5 Free:style=Solid:size=12}${goto 202}${font} ${diskio_write}
$hr
Disk Space:
/:
${fs_bar /}
/mnt/D:
${fs_bar /mnt/D}
/mnt/C:
${fs_bar /mnt/C}
${hr}
${font Font Awesome 5 Free:style=Solid:size=12}${font}${voffset -2} ${mem}/${memmax} (${memperc}%) | Swap: ${swapperc}%
${goto 20}${membar 7,355 AAF5D0 00B35B -l}
${hr}
${goto 20}CPU0: ${cpu cpu0}%${goto 100}${cpubar 7,80 cpu0}${goto 222}
${goto 20}CPU1: ${cpu cpu1}%${goto 100}${cpubar 7,80 cpu1}${goto 222}
${goto 20}CPU2: ${cpu cpu2}%${goto 100}${cpubar 7,80 cpu2}${goto 222}
${goto 20}CPU3: ${cpu cpu3}%${goto 100}${cpubar 7,80 cpu3}${goto 222}
${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