dotfiles/dot_config/conky/widgets/simpleclock.lua
2024-01-15 01:49:06 +09:00

36 lines
793 B
Lua

conky.config = {
-- common
background = true,
alignment = 'middle_middle',
double_buffer = true,
gap_x = 2240,
gap_y = 50,
draw_shades = false,
update_interval = 1.0,
-- window
own_window = true,
own_window_type = 'override',
own_window_transparent = true,
own_window_class = 'Conky',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
own_window_argb_value = 0,
-- color
default_shade_color = '#1d1f21',
default_color = '#ffffff',
-- color1 = '#2d2d2d',
color1 = '#4f4f4f',
-- font
-- uppercase = true,
use_xft = true,
xftalpha = 0.1,
};
conky.text = [[
${font Source Han Code JP:pixelsize=48}
${alignc}${color}${exec date +"%H:%M"}
]];