Skip to content

Instantly share code, notes, and snippets.

@erenard
Last active March 30, 2018 17:22
Show Gist options
  • Save erenard/9e8cc47cc0be073c4a5d74ef0c72af6a to your computer and use it in GitHub Desktop.
Save erenard/9e8cc47cc0be073c4a5d74ef0c72af6a to your computer and use it in GitHub Desktop.
linux conky configuration
conky.config = {
background = false,
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 = 'dock',
own_window_argb_visual = true,
own_window_argb_value = 120,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
border_inner_margin = 10,
border_outer_margin = 0,
xinerama_head = 2,
alignment = 'top_right',
gap_x = 10,
gap_y = 10,
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 = [[
${goto 20}${font FontAwesome}${font} ${hwmon 0 temp 1}°C${alignr}${font FontAwesome}${font} ${freq_g} GHz
${goto 20}${color #EF2929}${hwmon 0 temp 2}°C${goto 70}${voffset -3}${cpubar cpu1 7,135}${goto 210}${color #729FCF}${cpubar cpu2 7,135}${voffset 3}${alignr}${hwmon 0 temp 3}°C
${goto 70}${voffset -12}${color #A40000}${cpubar cpu5 7,135}${goto 210}${color #729FCF}${cpubar cpu6 7,135}
${goto 20}${color #FCE94F}${hwmon 0 temp 4}°C${goto 70}${voffset -3}${cpubar cpu3 7,135}${goto 210}${color #8AE234}${cpubar cpu4 7,135}${voffset 3}${alignr}${hwmon 0 temp 5}°C
${goto 70}${voffset -12}${color #C4A000}${cpubar cpu7 7,135}${goto 210}${color #4E9A06}${cpubar cpu8 7,135}${color}
${hr}
${goto 20}${memgraph 30,355 AAF5D0 00B35B}
${goto 20}${font FontAwesome}${font} ${memperc}%${goto 202}${font FontAwesome}${font} ${swapperc}%
${hr}
${goto 20}${upspeedgraph enp4s0 30,178 06E9F8 2104FA}${goto 202}${downspeedgraph enp4s0 30,175 FFFF00 DD3A21}
${goto 20}${font FontAwesome}${font} ${upspeed enp4s0}${goto 202}${font FontAwesome}${font} ${downspeed enp4s0}
${hr}
${goto 20}${diskiograph 30,355 FFFF00 DD3A21}
${goto 20}${font FontAwesome}${font} ${diskio_read}${goto 202}${font FontAwesome}${font} ${diskio_write}
${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 255}${top cpu 1}${goto 310}${top mem 1}
${goto 20}${top name 2} ${goto 180}${top pid 2}${goto 255}${top cpu 2}${goto 310}${top mem 2}
${goto 20}${top name 3} ${goto 180}${top pid 3}${goto 255}${top cpu 3}${goto 310}${top mem 3}
${goto 20}${top name 4} ${goto 180}${top pid 4}${goto 255}${top cpu 4}${goto 310}${top mem 4}
${goto 20}${top name 5} ${goto 180}${top pid 5}${goto 255}${top cpu 5}${goto 310}${top mem 5}
]];
[Desktop Entry]
Name=Conky
GenericName=Conky
Exec=/usr/bin/conky -c /home/eric/.config/conky.conf
Terminal=false
Icon=conky
Categories=Network
Type=Application
StartupNotify=true
X-GNOME-Autostart-enabled=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment