home/.config/conky/conky.conf

94 lines
3.7 KiB
Plaintext
Raw Normal View History

2018-01-21 00:45:36 -06:00
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
conky.config = {
own_window = true,
2018-01-21 19:41:52 -06:00
own_window_title = 'Conky',
own_window_class = 'Conky',
own_window_type = 'override',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_colour = '383c4a',
2018-01-21 00:45:36 -06:00
double_buffer = true,
cpu_avg_samples = 2,
net_avg_samples = 2,
no_buffers = true,
2018-08-29 13:56:43 -05:00
update_interval = 1,
2018-01-21 00:45:36 -06:00
use_xft = true,
font = 'Noto Sans:style=Light:size=9',
default_color = '#fffcf6',
color1 = '383c4a', -- Background
color2 = 'fffcf6', -- Foreground
color3 = '4b5162', -- Background-alt
color4 = '859900', -- Green (Battery)
color6 = '2aa198', -- Cyan (Network)
color7 = 'b58900', -- Yellow (Disk)
color8 = '268bd2', -- Blue (CPU)
color9 = 'd33682', -- Magenta (Memory)
2018-01-21 00:45:36 -06:00
2019-01-11 11:36:53 -06:00
alignment = 'bottom_right',
xinerama_head = 2,
minimum_height = 0,
2018-08-19 16:50:10 -05:00
minimum_width = 304,
border_width = 6,
gap_x = 10,
2019-01-11 11:36:53 -06:00
gap_y = 32,
2018-01-21 00:45:36 -06:00
format_human_readable = true,
if_up_strictness = "link",
default_bar_height = 11,
default_bar_width = 130,
2019-01-11 11:36:53 -06:00
default_graph_height = 20,
draw_outline = false,
2019-01-11 11:36:53 -06:00
draw_graph_borders = true,
draw_shades = false
2018-01-21 00:45:36 -06:00
}
conky.text = [[
2019-02-01 03:31:48 -06:00
${image ~/.face -s 64x64}${font Noto Sans:style=Light:size=30}$alignr${no_update $nodename_short}$font
${font Noto Sans:style=Light:size=17}$alignr${time %I:%M %p}$font
${font Noto Sans:style=Light:size=12}$alignr${time %A, %B %d, %Y}$font
2018-01-21 00:45:36 -06:00
${color3}$hr$color
${font Noto Sans:style=Medium:size=9}CPU$font: $freq_g GHz$alignr$cpu%
2019-01-11 11:36:53 -06:00
${color8}${cpugraph cpu1 20,200} ${cpugraph cpu2 20,200}
${cpugraph cpu3 20,200} ${cpugraph cpu4 20,200}$color
${color8}${top name 1}$color$alignr${top cpu 1}%
${color8}${top name 2}$color$alignr${top cpu 2}%
${color8}${top name 3}$color$alignr${top cpu 3}%
${color8}${top name 4}$color$alignr${top cpu 4}%
2018-01-21 00:45:36 -06:00
${color3}$hr$color
${font Noto Sans:style=Medium:size=9}Memory$font: $mem / $memmax used$alignr$memperc%
${color9}${memgraph}$color
Memory$alignr$memeasyfree free ${color9}${membar}$color
Swap$alignr$swapfree ${color9}${swapbar}$color
2019-01-11 11:36:53 -06:00
${color9}${top_mem name 1}$color$alignr${top_mem mem 1}%
${color9}${top_mem name 2}$color$alignr${top_mem mem 2}%
${color9}${top_mem name 3}$color$alignr${top_mem mem 3}%
${color9}${top_mem name 4}$color$alignr${top_mem mem 4}%
2018-01-21 00:45:36 -06:00
${color3}$hr$color
${font Noto Sans:style=Medium:size=9}Disk$font (R/W):$alignr${diskio /dev/sda}
2019-01-11 11:36:53 -06:00
${color7}${diskiograph_read /dev/sda 20,200} ${diskiograph_write /dev/sda 20,200}$color
/$alignr${fs_free /} ${color7}${fs_bar /}$color
/home$alignr${fs_free /home} ${color7}${fs_bar /home}$color
/boot$alignr${fs_free /boot} ${color7}${fs_bar /boot}$color
/boot/efi$alignr${fs_free /boot/efi} ${color7}${fs_bar /boot/efi}$color
2019-01-11 11:36:53 -06:00
${color7}${top_io name 1}$color$alignr${top_io io_perc 1}%
${color7}${top_io name 2}$color$alignr${top_io io_perc 2}%
${color7}${top_io name 3}$color$alignr${top_io io_perc 3}%
${color7}${top_io name 4}$color$alignr${top_io io_perc 4}%
${color3}$hr$color
${font Noto Sans:style=Medium:size=9}Network$font:${alignr}Default $gw_iface${if_up wlp1s0}
wlp1s0 (U/D):$alignr${addr wlp1s0} / ${wireless_essid wlp1s0}
2019-01-11 11:36:53 -06:00
${color6}${upspeedgraph wlp1s0 20,200} ${downspeedgraph wlp1s0 20,200}$color$endif${if_up wlp5s0}
wlp5s0 (U/D):$alignr${addr wlp5s0} / ${wireless_essid wlp5s0}
2019-01-11 11:36:53 -06:00
${color6}${upspeedgraph wlp5s0 20,200} ${downspeedgraph wlp5s0 20,200}$color$endif${if_up enp0s31f6}
enp0s31f6 (U/D):$alignr${addr enp0s31f6}
2019-01-11 11:36:53 -06:00
${color6}${upspeedgraph enp0s31f6 20,200} ${downspeedgraph enp0s31f6 20,200}$color$endif${if_up eno1}
eno1 (U/D):$alignr${addr eno1}
2019-01-11 11:36:53 -06:00
${color6}${upspeedgraph eno1 20,200} ${downspeedgraph eno1 20,200}$color$endif${if_up enp0s20f0u2}
enp0s20f0u2 (U/D):$alignr${addr enp0s20f0u2}
2019-01-11 11:36:53 -06:00
${color6}${upspeedgraph enp0s20f0u2 20,200} ${downspeedgraph enp0s20f0u2 20,200}$color$endif
2018-01-21 00:45:36 -06:00
]]