home/.config/conky/i3lock.conf

53 lines
1.3 KiB
Plaintext
Raw Normal View History

-- 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',
own_window_colour = '383c4a',
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',
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)
alignment = 'middle_middle',
xinerama_head = 2,
minimum_height = 0,
2019-04-09 05:09:45 -05:00
minimum_width = 300,
gap_x = 0,
gap_y = -230,
format_human_readable = true,
2019-04-09 05:05:38 -05:00
default_bar_height = 12,
default_bar_width = 300,
draw_outline = false,
draw_graph_borders = false,
draw_shades = false
}
conky.text = [[
2019-04-09 05:09:45 -05:00
$alignc${font Noto Sans:style=Light:size=52}${time %I:%M %p}$font
$alignc${font Noto Sans:style=Light:size=24}${time %A, %B %d}$font
$alignc${if_existing /sys/class/power_supply/BAT0}
$alignc${alignr}$color4${battery_bar}$color$endif
$alignc${alignr}$color8${cpubar}$color
$alignc${alignr}$color9${membar}$color
]]