2018-11-04 03:37:19 -06:00
|
|
|
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
|
|
|
|
|
|
|
|
conky.config = {
|
|
|
|
own_window = true,
|
|
|
|
own_window_title = 'Conky - i3lock',
|
|
|
|
own_window_class = 'Conky_i3lock',
|
|
|
|
own_window_type = 'override',
|
|
|
|
own_window_hints = 'undecorated,above,sticky,skip_taskbar,skip_pager',
|
2019-02-01 03:31:17 -06:00
|
|
|
own_window_colour = '383c4a',
|
2018-11-04 03:37:19 -06:00
|
|
|
|
|
|
|
double_buffer = true,
|
|
|
|
cpu_avg_samples = 2,
|
|
|
|
no_buffers = true,
|
|
|
|
update_interval = 1,
|
|
|
|
|
|
|
|
use_xft = true,
|
2019-02-03 14:50:03 -06:00
|
|
|
font = 'Noto Sans:style=Normal:size=10',
|
2019-02-01 03:32:38 -06:00
|
|
|
default_color = '#fffcf6',
|
2019-02-01 03:31:17 -06:00
|
|
|
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-11-04 03:37:19 -06:00
|
|
|
|
|
|
|
alignment = 'middle_middle',
|
|
|
|
xinerama_head = 2,
|
|
|
|
minimum_height = 0,
|
|
|
|
minimum_width = 400,
|
|
|
|
gap_x = 350,
|
|
|
|
gap_y = 0,
|
|
|
|
|
|
|
|
format_human_readable = true,
|
|
|
|
|
|
|
|
default_bar_height = 10,
|
|
|
|
default_bar_width = 300,
|
|
|
|
draw_outline = false,
|
|
|
|
draw_graph_borders = false,
|
|
|
|
draw_shades = false
|
|
|
|
}
|
|
|
|
|
|
|
|
conky.text = [[
|
2019-02-01 03:31:17 -06:00
|
|
|
${font Noto Sans:style=Light:size=52}$alignr${time %I:%M %p}$font
|
|
|
|
${font Noto Sans:style=Light:size=24}$alignr${time %A, %B %d}$font
|
2018-11-04 03:37:19 -06:00
|
|
|
${if_existing /sys/class/power_supply/BAT0}
|
2019-02-01 03:31:17 -06:00
|
|
|
${alignr}Battery: $color4${battery_bar}$color$endif
|
2018-11-04 03:37:19 -06:00
|
|
|
${alignr}CPU: $color8${cpubar}$color
|
2019-02-01 03:31:17 -06:00
|
|
|
${alignr}Memory: $color9${membar}$color
|
|
|
|
${alignr}Swap: $color9${swapbar}$color
|
2018-11-04 03:37:19 -06:00
|
|
|
]]
|
|
|
|
|