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',
|
2018-10-21 01:30:10 -05:00
|
|
|
own_window_type = 'override',
|
2018-08-26 16:11:25 -05:00
|
|
|
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
|
2018-11-05 17:00:56 -06:00
|
|
|
own_window_colour = '000000',
|
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,
|
2018-08-29 13:56:43 -05:00
|
|
|
update_interval = 1,
|
2018-01-21 00:45:36 -06:00
|
|
|
|
2018-07-20 00:17:41 -05:00
|
|
|
use_xft = true,
|
2018-08-19 17:57:20 -05:00
|
|
|
font = 'Inconsolata:style=Light:size=10',
|
2018-11-05 17:00:56 -06:00
|
|
|
default_color = '#b2b2b2',
|
|
|
|
color1 = '000000', -- Background
|
|
|
|
color2 = 'b2b2b2', -- Foreground
|
|
|
|
color3 = '181818', -- Background-alt
|
|
|
|
color4 = '54ff54', -- Green (Battery)
|
|
|
|
color6 = '54ffff', -- Cyan (Network)
|
|
|
|
color7 = 'ffff54', -- Yellow (Disk)
|
|
|
|
color8 = '5454ff', -- Blue (CPU)
|
|
|
|
color9 = 'ff54ff', -- Magenta (Memory)
|
2018-01-21 00:45:36 -06:00
|
|
|
|
2018-10-28 01:16:49 -05:00
|
|
|
alignment = 'bottom_left',
|
2018-08-29 22:24:06 -05:00
|
|
|
xinerama_head = 2,
|
2018-08-19 17:58:51 -05:00
|
|
|
minimum_height = 0,
|
2018-08-19 16:50:10 -05:00
|
|
|
minimum_width = 304,
|
2018-07-20 00:17:41 -05:00
|
|
|
border_width = 6,
|
2018-10-31 16:55:12 -05:00
|
|
|
gap_x = 10,
|
2018-11-05 17:00:56 -06:00
|
|
|
gap_y = 40,
|
2018-01-21 00:45:36 -06:00
|
|
|
|
2018-08-07 19:34:10 -05:00
|
|
|
format_human_readable = true,
|
2018-08-29 13:20:22 -05:00
|
|
|
if_up_strictness = "link",
|
2018-06-30 21:01:31 -05:00
|
|
|
|
2018-08-29 13:36:36 -05:00
|
|
|
default_bar_height = 11,
|
|
|
|
default_bar_width = 130,
|
|
|
|
default_graph_height = 30,
|
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-19 20:36:39 -05:00
|
|
|
${image ~/.face -s 64x64}${font Inconsolata:style=Medium:size=30}$alignr${no_update $nodename_short}$font
|
2018-08-20 00:49:04 -05:00
|
|
|
${font Inconsolata:style=Light:size=17}$alignr${time %I:%M %p}$font
|
|
|
|
${font Inconsolata:style=Light:size=12}$alignr${time %A, %B %d, %Y}$font
|
2018-01-21 00:45:36 -06:00
|
|
|
${color3}$hr$color
|
2018-08-19 17:57:20 -05:00
|
|
|
${font Inconsolata:style=Medium:size=10}CPU$font: $freq_g GHz$alignr$cpu%
|
2018-08-19 16:50:10 -05:00
|
|
|
${color8}${cpugraph cpu1 30,200} ${cpugraph cpu2 30,200}
|
|
|
|
${cpugraph cpu3 30,200} ${cpugraph cpu4 30,200}$color
|
2018-01-21 00:45:36 -06:00
|
|
|
${color3}$hr$color
|
2018-08-19 17:57:20 -05:00
|
|
|
${font Inconsolata:style=Medium:size=10}Memory$font: $mem / $memmax used$alignr$memperc%
|
2018-08-29 16:21:20 -05:00
|
|
|
${color9}${memgraph}$color
|
2018-08-29 13:36:36 -05:00
|
|
|
Memory$alignr$memeasyfree free ${color9}${membar}$color
|
2018-09-09 10:02:47 -05:00
|
|
|
Swap$alignr$swapfree ${color9}${swapbar}$color
|
2018-01-21 00:45:36 -06:00
|
|
|
${color3}$hr$color
|
2018-08-19 17:57:20 -05:00
|
|
|
${font Inconsolata:style=Medium:size=10}Disk$font (R/W):$alignr${diskio /dev/sda}
|
2018-08-19 16:50:10 -05:00
|
|
|
${color7}${diskiograph_read /dev/sda 30,200} ${diskiograph_write /dev/sda 30,200}$color
|
2018-08-29 13:36:36 -05:00
|
|
|
/$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
|
2018-08-16 15:31:57 -05:00
|
|
|
${color3}$hr$color
|
2018-08-19 17:57:20 -05:00
|
|
|
${font Inconsolata:style=Medium:size=10}Network$font:${alignr}Default $gw_iface${if_up wlp1s0}
|
2018-08-16 15:31:57 -05:00
|
|
|
wlp1s0 (U/D):$alignr${addr wlp1s0} / ${wireless_essid wlp1s0}
|
2018-08-19 16:50:10 -05:00
|
|
|
${color6}${upspeedgraph wlp1s0 30,200} ${downspeedgraph wlp1s0 30,200}$color$endif${if_up wlp5s0}
|
2018-08-16 15:31:57 -05:00
|
|
|
wlp5s0 (U/D):$alignr${addr wlp5s0} / ${wireless_essid wlp5s0}
|
2018-08-19 16:50:10 -05:00
|
|
|
${color6}${upspeedgraph wlp5s0 30,200} ${downspeedgraph wlp5s0 30,200}$color$endif${if_up enp0s31f6}
|
2018-08-16 15:31:57 -05:00
|
|
|
enp0s31f6 (U/D):$alignr${addr enp0s31f6}
|
2018-08-19 16:50:10 -05:00
|
|
|
${color6}${upspeedgraph enp0s31f6 30,200} ${downspeedgraph enp0s31f6 30,200}$color$endif${if_up eno1}
|
2018-08-16 15:31:57 -05:00
|
|
|
eno1 (U/D):$alignr${addr eno1}
|
2018-08-19 16:50:10 -05:00
|
|
|
${color6}${upspeedgraph eno1 30,200} ${downspeedgraph eno1 30,200}$color$endif${if_up enp0s20f0u2}
|
2018-08-16 15:31:57 -05:00
|
|
|
enp0s20f0u2 (U/D):$alignr${addr enp0s20f0u2}
|
2018-08-19 16:50:10 -05:00
|
|
|
${color6}${upspeedgraph enp0s20f0u2 30,200} ${downspeedgraph enp0s20f0u2 30,200}$color$endif
|
2018-01-21 00:45:36 -06:00
|
|
|
]]
|
2018-08-19 17:58:51 -05:00
|
|
|
|