conky.config = {
alignment = 'top_right',
background = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'green',
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 = 'DejaVu Sans Mono:size 12',
gap_x = 5,
gap_y = 60,
minimum_width = 5, minimum_height = 5,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = 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,
};
conky.text = [[
${scroll 16 $nodename - $sysname $kernel on $machine | }
$hr
${color yellow}Uptime:$color $uptime
${color yellow}Frequency (in MHz):$color $freq
${color yellow}Frequency (in GHz):$color $freq_g
${color yellow}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color yellow}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color yellow}CPU Usage:$color $cpu% ${cpubar 4}
${color yellow}Processes:$color $processes ${color green}Running:$color $running_processes
$hr
${color blue}File systems:
/ ${color green}${fs_used /}/${fs_size /} ${fs_bar 6 /}
/home ${color green}${fs_used /home}/${fs_size /home} ${fs_bar 6 /home}
${color blue}Networking:
${color orange}Up:${color yellow}${upspeed wlan4} ${color orange} - Down:${color yellow} ${downspeed wlan4}
$hr
top process
${color blue}Name PID CPU% MEM%
${color lightred} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightred} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightred} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightred} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color green} Battery:
${color yellow}capacity:$alignr${execi 60 acpi | grep -Eo '[0-9]+%'}
${color green}status:$alignr${execi 60 acpi | grep -Eo '\w+,' | grep -Eo '\w+'}
${color yellow}remaining:$alignr${execi 60 acpi | grep -Eo '(:?[0-9]+){3}'}
]];