home/.config/conky/primary.conf
Salt 6588bde15b Memory: Annotate statistics
I was getting confused at about half usage
2018-08-16 19:57:39 -05:00

90 lines
3.4 KiB
Lua

-- vim: ts=4 sw=4 noet ai cindent syntax=lua
conky.config = {
own_window = true,
own_window_title = 'Conky',
own_window_class = 'Conky',
own_window_type = 'desktop',
own_window_colour = '1d2021',
own_window_argb_visual = true,
own_window_argb_value = 180,
double_buffer = true,
cpu_avg_samples = 2,
net_avg_samples = 2,
no_buffers = true,
update_interval = 1,
use_xft = true,
font = 'Roboto:style=Light:size=10',
default_color = '#ebdbb2',
color1 = '282828', -- Background
color2 = 'ebdbb2', -- Foreground
color3 = '3c3836', -- Background-alt
color4 = 'fb4934', -- Red (Hot, generic)
color6 = '8ec07c', -- Cyan (Network)
color7 = 'fabd2f', -- Yellow (Disk)
color8 = '83a598', -- Blue (CPU)
color9 = 'd3869b', -- Magenta (Memory)
alignment = 'top_left',
xinerama_head = 0,
minimum_height = 4000,
minimum_width = 404,
border_width = 6,
gap_x = 10,
gap_y = 44,
show_graph_scale = true,
format_human_readable = true,
draw_outline = false,
draw_graph_borders = false,
draw_shades = false
}
conky.text = [[
${font Roboto:style=Medium:size=30}$alignr$nodename_short$font
${font Roboto:style=Light:size=17}$alignr$kernel$font
${font Roboto:style=Light:size=12}$alignr$distribution$font
${color3}$hr$color
${font Roboto:style=Medium:size=10}CPU$font: $freq_g GHz$alignr$cpu%
${color8}${cpugraph cpu1 40,200} ${cpugraph cpu2 40,200}
${cpugraph cpu3 40,200} ${cpugraph cpu4 40,200}$color
${top name 1}$alignr${color8}${top cpu 1}%$color
${top name 2}$alignr${color8}${top cpu 2}%$color
${top name 3}$alignr${color8}${top cpu 3}%$color
${color3}$hr$color
${font Roboto:style=Medium:size=10}Memory$font: $mem / $memmax used$alignr$memperc%
${color9}${memgraph 40}$color
Memory$alignr$memeasyfree free ${color9}${membar 11,130}$color
Swap$alignr$swapfree ${color9}${swapbar 11,130}$color
${top_mem name 1}$alignr${color9}${top_mem mem 1}%$color
${top_mem name 2}$alignr${color9}${top_mem mem 2}%$color
${top_mem name 3}$alignr${color9}${top_mem mem 3}%$color
${color3}$hr$color
${font Roboto:style=Medium:size=10}Disk$font (R/W):$alignr${diskio /dev/sda}
${color7}${diskiograph_read /dev/sda 40,200} ${diskiograph_write /dev/sda 40,200}$color
/$alignr${fs_free /} ${color7}${fs_bar 11,130 /}$color
/home$alignr${fs_free /home} ${color7}${fs_bar 11,130 /home}$color
/boot$alignr${fs_free /boot} ${color7}${fs_bar 11,130 /boot}$color
/boot/efi$alignr${fs_free /boot/efi} ${color7}${fs_bar 11,130 /boot/efi}$color
${top_io name 1}$alignr${color7}${top_io io_perc 1}%$color
${top_io name 2}$alignr${color7}${top_io io_perc 2}%$color
${top_io name 3}$alignr${color7}${top_io io_perc 3}%$color
${color3}$hr$color
${font Roboto:style=Medium:size=10}Network$font:${alignr}Default $gw_iface${if_up wlp1s0}
wlp1s0 (U/D):$alignr${addr wlp1s0} / ${wireless_essid wlp1s0}
${color6}${upspeedgraph wlp1s0 40,200} ${downspeedgraph wlp1s0 40,200}$color$endif${if_up wlp5s0}
wlp5s0 (U/D):$alignr${addr wlp5s0} / ${wireless_essid wlp5s0}
${color6}${upspeedgraph wlp5s0 40,200} ${downspeedgraph wlp5s0 40,200}$color$endif${if_up enp0s31f6}
enp0s31f6 (U/D):$alignr${addr enp0s31f6}
${color6}${upspeedgraph enp0s31f6 40,200} ${downspeedgraph enp0s31f6 40,200}$color$endif${if_up eno1}
eno1 (U/D):$alignr${addr eno1}
${color6}${upspeedgraph eno1 40,200} ${downspeedgraph eno1 40,200}$color$endif${if_up enp0s20f0u2}
enp0s20f0u2 (U/D):$alignr${addr enp0s20f0u2}
${color6}${upspeedgraph enp0s20f0u2 40,200} ${downspeedgraph enp0s20f0u2 40,200}$color$endif
]]