conky.config = { -- Base settings update_interval = 1, total_run_times = 0, net_avg_samples = 1, cpu_avg_samples = 1, imlib_cache_size = 0, double_buffer = true, no_buffers = true, format_human_readable = true, -- Text settings use_xft = true, font = 'ubuntu:size=8', override_utf8_locale = true, text_buffer_size = 2048, -- Window settings own_window_class = 'Conky', own_window = true, own_window_argb_visual = true, own_window_argb_value = 180, own_window_transparent = true, own_window_hints = 'undecorated,below,sticky,skip_taskbar', alignment = 'top_left', gap_x = 20, gap_y = 200, minimum_width = 190, minimum_height = 800, maximum_width = 220, default_bar_width = 220, default_bar_height = 8, -- Graphics settings draw_shades = false, default_color = '#cccccc', color0 = 'black', color1 = 'cyan', color2 = 'white', color4 = '#8de7f4', color5 = '#3884AC', }; conky.text = [[ # RAM/SWAP ${voffset -2}${font ubuntu:style=Bold:size=8}$stippled_hr${font} ${font ubuntu:bold:size=8}${goto 4}${voffset 2}Ram: used of ( free) ${color 7bb2c4}${font ubuntu:bold:size=8}${goto 36}${voffset -13}${execpi 40 free -m | awk '/Mem:/ { printf int(( $2-$7 ) /$2*100) }'}% ${color 7bb2c4}${font ubuntu:size=8}${goto 108}${voffset -15}${execpi 40 free -m | awk '/Mem:/ {printf("%.2f\n",$2/1024)}'}Gb ${color 7bb2c4}${font ubuntu:size=8}${goto 153}${voffset -14}${execpi 40 free -m | awk '/Mem:/ {printf("%.2f\n",$7/1024)}'}Gb ${voffset 4}${color 7bb2c4}${execbar free -m | awk '/Mem:/ { printf ( $2-$7 ) /$2*100 }'}${color} ${font ubuntu:size=8}$color ${font ubuntu:bold:size=8}${top name 1} ${goto 140} ${top pid 1}${goto 193}${top cpu 1}${goto 246}${top mem 1} ${font ubuntu:size=8}$color ${font ubuntu:bold:size=8}${top name 2} ${goto 140} ${top pid 2}${goto 193}${top cpu 2}${goto 246}${top mem 2} ${font ubuntu:size=8}$color ${font ubuntu:bold:size=8}${top name 3} ${goto 140} ${top pid 3}${goto 193}${top cpu 3}${goto 246}${top mem 3} ${font ubuntu:size=8}$color ${font ubuntu:bold:size=8}${top name 4} ${goto 140} ${top pid 4}${goto 193}${top cpu 4}${goto 246}${top mem 4} ${font ubuntu:size=8}$color ${font ubuntu:bold:size=8}${top name 5} ${goto 140} ${top pid 5}${goto 193}${top cpu 5}${goto 246}${top mem 5} ${font ubuntu:size=8}$color ${font ubuntu:bold:size=8}${top name 6} ${goto 140} ${top pid 6}${goto 193}${top cpu 5}${goto 246}${top mem 6} ${font ubuntu:size=8}$color ${font ubuntu:bold:size=8}${top name 7} ${goto 140} ${top pid 7}${goto 193}${top cpu 5}${goto 246}${top mem 7} #${execpi ps -Ao comm,pid,pcpu --sort=-pcpu | head -n 6 | sed -n 3p} ]];