2018-01-21 00:45:36 -06:00
|
|
|
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
|
|
|
|
|
2018-01-21 01:19:55 -06:00
|
|
|
conky.config = {
|
|
|
|
own_window = true,
|
2018-01-21 19:41:52 -06:00
|
|
|
own_window_title = 'Conky',
|
2018-07-20 00:17:41 -05:00
|
|
|
own_window_class = 'Conky',
|
|
|
|
own_window_type = 'desktop',
|
2018-08-08 16:03:38 -05:00
|
|
|
own_window_colour = '1d2021',
|
2018-08-08 17:23:09 -05:00
|
|
|
own_window_argb_visual = true,
|
|
|
|
own_window_argb_value = 180,
|
2018-01-21 00:45:36 -06:00
|
|
|
|
2018-01-21 01:19:55 -06:00
|
|
|
double_buffer = true,
|
2018-07-20 00:17:41 -05:00
|
|
|
cpu_avg_samples = 2,
|
|
|
|
net_avg_samples = 2,
|
|
|
|
no_buffers = true,
|
|
|
|
update_interval = 1,
|
2018-01-21 00:45:36 -06:00
|
|
|
|
2018-07-20 00:17:41 -05:00
|
|
|
use_xft = true,
|
|
|
|
font = 'Roboto:style=Light:size=10',
|
2018-05-17 16:38:00 -05:00
|
|
|
default_color = '#ebdbb2',
|
2018-05-18 15:08:55 -05:00
|
|
|
color1 = '282828', -- Background
|
|
|
|
color2 = 'ebdbb2', -- Foreground
|
|
|
|
color3 = '3c3836', -- Background-alt
|
|
|
|
color4 = 'fb4934', -- Red (Hot, generic)
|
|
|
|
color6 = '8ec07c', -- Cyan (Network)
|
2018-06-30 21:26:09 -05:00
|
|
|
color7 = 'fabd2f', -- Yellow (Disk)
|
2018-05-18 15:08:55 -05:00
|
|
|
color8 = '83a598', -- Blue (CPU)
|
|
|
|
color9 = 'd3869b', -- Magenta (Memory)
|
2018-01-21 00:45:36 -06:00
|
|
|
|
2018-08-11 02:22:44 -05:00
|
|
|
alignment = 'top_left',
|
2018-08-11 13:30:41 -05:00
|
|
|
xinerama_head = 0,
|
2018-08-08 16:03:38 -05:00
|
|
|
minimum_height = 4000,
|
2018-08-11 17:12:30 -05:00
|
|
|
minimum_width = 404,
|
2018-07-20 00:17:41 -05:00
|
|
|
border_width = 6,
|
2018-08-07 19:34:10 -05:00
|
|
|
gap_x = 10,
|
|
|
|
gap_y = 44,
|
2018-01-21 00:45:36 -06:00
|
|
|
|
2018-06-30 21:01:31 -05:00
|
|
|
show_graph_scale = true,
|
2018-08-07 19:34:10 -05:00
|
|
|
format_human_readable = true,
|
2018-06-30 21:01:31 -05:00
|
|
|
|
2018-07-20 00:17:41 -05:00
|
|
|
draw_outline = false,
|
2018-05-18 15:08:55 -05:00
|
|
|
draw_graph_borders = false,
|
2018-07-20 00:17:41 -05:00
|
|
|
draw_shades = false
|
2018-01-21 00:45:36 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
conky.text = [[
|
2018-08-13 18:33:23 -05:00
|
|
|
${font Roboto:style=Medium:size=30}$alignr$nodename_short$font
|
2018-08-13 15:48:40 -05:00
|
|
|
${font Roboto:style=Light:size=17}$alignr$kernel$font
|
|
|
|
${font Roboto:style=Light:size=12}$alignr$distribution$font
|
2018-01-21 00:45:36 -06:00
|
|
|
${color3}$hr$color
|
2018-06-30 20:57:11 -05:00
|
|
|
${font Roboto:style=Medium:size=10}CPU$font: $freq_g GHz$alignr$cpu%
|
2018-07-18 17:37:00 -05:00
|
|
|
${color8}${cpugraph cpu1 40,200} ${cpugraph cpu2 40,200}
|
|
|
|
${cpugraph cpu3 40,200} ${cpugraph cpu4 40,200}$color
|
2018-07-18 18:21:48 -05:00
|
|
|
${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
|
2018-01-21 00:45:36 -06:00
|
|
|
${color3}$hr$color
|
2018-06-30 20:57:11 -05:00
|
|
|
${font Roboto:style=Medium:size=10}Memory$font: $mem out of $memmax$alignr$memperc%
|
2018-07-18 17:37:00 -05:00
|
|
|
${color9}${memgraph 40}$color
|
2018-07-18 18:21:48 -05:00
|
|
|
${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
|
2018-01-21 00:45:36 -06:00
|
|
|
${color3}$hr$color
|
2018-08-15 18:57:53 -05:00
|
|
|
${font Roboto:style=Medium:size=10}Disk$font (R/W): ${fs_free /home} free$alignr${diskio /dev/sda}/s
|
2018-07-18 17:37:00 -05:00
|
|
|
${color7}${diskiograph_read /dev/sda 40,200} ${diskiograph_write /dev/sda 40,200}$color
|
2018-08-11 17:12:30 -05:00
|
|
|
${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
|
2018-01-21 16:40:52 -06:00
|
|
|
${color3}$hr$color${if_up wlp1s0}
|
2018-06-30 20:57:11 -05:00
|
|
|
${font Roboto:style=Medium:size=10}WLAN$font (U/D):$alignr${addr wlp1s0} on $wireless_essid
|
2018-07-18 17:37:00 -05:00
|
|
|
${color6}${upspeedgraph wlp1s0 40,200} ${downspeedgraph wlp1s0 40,200}$color$endif${if_up wlp5s0}
|
2018-06-30 20:57:11 -05:00
|
|
|
${font Roboto:style=Medium:size=10}WLAN$font (U/D):$alignr${addr wlp5s0} on $wireless_essid
|
2018-07-18 17:37:00 -05:00
|
|
|
${color6}${upspeedgraph wlp5s0 40,200} ${downspeedgraph wlp5s0 40,200}$color$endif${if_up enp0s31f6}
|
2018-06-30 20:57:11 -05:00
|
|
|
${font Roboto:style=Medium:size=10}Ethernet$font (U/D):$alignr${addr enp0s31f6}
|
2018-08-01 20:30:18 -05:00
|
|
|
${color6}${upspeedgraph enp0s31f6 40,200} ${downspeedgraph enp0s31f6 40,200}$color$endif${if_up eno1}
|
|
|
|
${font Roboto:style=Medium:size=10}Ethernet$font (U/D):$alignr${addr eno1}
|
|
|
|
${color6}${upspeedgraph eno1 40,200} ${downspeedgraph eno1 40,200}$color$endif${if_up enp0s20f0u2}
|
2018-06-30 20:57:11 -05:00
|
|
|
${font Roboto:style=Medium:size=10}USB Tether$font (U/D):$alignr${addr enp0s20f0u2}
|
2018-07-18 17:37:00 -05:00
|
|
|
${color6}${upspeedgraph enp0s20f0u2 40,200} ${downspeedgraph enp0s20f0u2 40,200}$color$endif
|
2018-01-21 00:45:36 -06:00
|
|
|
]]
|