conky-config/conky.conf

44 lines
895 B
Plaintext
Raw Normal View History

local update_interval = 1 -- in seconds
2022-07-19 18:11:46 -04:00
local conky_dir = debug.getinfo(1).source:match("@?(.*/)")
2016-08-11 23:25:56 -04:00
conky.config = {
2017-07-16 23:49:27 -04:00
background = false,
2016-08-11 23:25:56 -04:00
-- adjust cpu dial sensitivity (1-14)
2016-08-11 23:25:56 -04:00
cpu_avg_samples = 4,
net_avg_samples = 1,
2016-08-11 23:25:56 -04:00
out_to_console = false,
own_window = true,
2020-03-15 12:05:08 -04:00
own_window_type = 'override',
2016-08-11 23:25:56 -04:00
own_window_transparent = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
xinerama_head = 0,
2016-08-11 23:25:56 -04:00
double_buffer = true,
-- TODO don't hardcode screen size here
2017-07-15 20:08:39 -04:00
minimum_width = 1920,
minimum_height = 1080,
2016-08-11 23:25:56 -04:00
draw_shades = false,
draw_outline = false,
draw_borders = false,
gap_x = 0,
gap_y = 0,
alignment = 'top_left',
no_buffers = true,
-- Lua Load
2022-07-19 18:11:46 -04:00
lua_load = conky_dir..'main.lua',
lua_draw_hook_post = 'main',
2022-07-19 18:11:46 -04:00
lua_startup_hook = string.format('start %f %s', update_interval, conky_dir)
2016-08-11 23:25:56 -04:00
}
--control updates entirely in lua
conky.text = [[]]