conky-config/daemons/top_middle.lua

51 lines
1.2 KiB
Lua
Raw Normal View History

2021-06-14 20:01:00 +02:00
conky.config = {
-- Remove the gaps
gap_x = 0,
gap_y = 0,
-- Define ancor
alignment = 'top_middle',
-- TODO(Krey): Decide on the implementation
minimum_width = 450,
-- TODO(Krey): To be processed
background = false,
border_width = 0.5,
cpu_avg_samples = 4,
default_color = 'white',
default_outline_color = 'grey',
default_shade_color = 'black',
draw_borders = true,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'Unifont:size=16',
net_avg_samples = 2,
double_buffer = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_colour = '000000',
own_window_class = 'Conky',
own_window_argb_visual = true,
own_window_type = 'dock',
own_window_transparent = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
stippled_borders = 0,
update_interval = 1,
uppercase = false,
show_graph_scale = false,
show_graph_range = false,
}
conky.text = [[
2022-10-26 01:49:22 +02:00
${voffset 1}
2021-06-14 20:01:00 +02:00
${alignc}-- ${exec date -u +"%H:%M:%S %Z"} --
2022-10-26 01:49:22 +02:00
${alignc}${font :bold:size=32}${execi 3600 date -u +"%d/%m/%Y"}${font}
${alignc}-- ${exec date +"%H:%M:%S %Z"} --
]]