-- vim: ts=4 sw=4 noet ai cindent syntax=lua conky.config = { alignment = 'top_right', background = true, border_width = 1, cpu_avg_samples = 2, default_color = 'white', 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 = 5, minimum_height = 5, minimum_width = 5, net_avg_samples = 2, no_buffers = true, out_to_console = false, out_to_stderr = false, extra_newline = false, own_window = true, own_window_class = 'Conky', own_window_type = 'normal', own_window_transparent = true, own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', stippled_borders = 0, update_interval = 10.0, uppercase = false, use_spacer = 'none', show_graph_scale = false, show_graph_range = false } conky.text = [[ $nodename - $sysname $kernel on $machine $hr ${color grey}RAM Usage:$color $memperc% $mem / $memmax ${membar 4} ${color grey}CPU Usage:$color $cpu% ${cpubar 4} ${color grey}Frequency (in MHz):$color $freq ${color grey}SYS: $color${hwmon 0 temp 1} C° ${color grey}CPU: $color${hwmon 1 temp 1} C° ${color grey}GPU: $color${hwmon 2 temp 1} C° $hr ${color grey}RAID5 $color${execi 3600 awk '/blocks/ { print $NF }' /proc/mdstat} ${color grey}/ $color${fs_free /} ${fs_bar 6 /} ${color grey}/home $color${fs_free /home} ${fs_bar 6 /home} ${color grey}/var $color${fs_free /var} ${fs_bar 6 /var} ${color grey}/data $color${fs_free /mnt/data} ${fs_bar 6 /mnt/data} ${color grey}sda: ${diskiograph /dev/sda} ${color grey}sdb: ${diskiograph /dev/sdb} ${color grey}sdc: ${diskiograph /dev/sdc} ${color grey}nvme: ${diskiograph /dev/nvme0n1} $hr ${color grey}Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0} $hr ${color grey}Name PID CPU% MEM% ${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} ]]