home/.config/conky/i3lock.conf

54 lines
1.4 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 = '282828',
double_buffer = true,
cpu_avg_samples = 2,
no_buffers = true,
update_interval = 1,
use_xft = true,
font = 'Inconsolata:style=Medium:size=10',
default_color = '#ebdbb2',
color1 = '282828', -- Background
color2 = 'ebdbb2', -- Foreground
color3 = '3c3836', -- Background-alt
color4 = 'b8bb26', -- Green (Battery)
color6 = '8ec07c', -- Cyan (Network)
color7 = 'fabd2f', -- Yellow (Disk)
color8 = '83a598', -- Blue (CPU)
color9 = 'd3869b', -- Magenta (Memory)
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 = [[
${font Inconsolata:style=Medium:size=64}$alignr${time %I:%M %p}$font
${font Inconsolata:style=Medium:size=24}$alignr${time %A, %B %d}$font
${if_existing /sys/class/power_supply/BAT0}
${alignr}BAT: $color4${battery_bar}$color$endif
${alignr}CPU: $color8${cpubar}$color
${alignr}MEM: $color9${membar}$color
${alignr}SWP: $color9${swapbar}$color
]]