51 lines
1.9 KiB
Plaintext
51 lines
1.9 KiB
Plaintext
-- docs: <https://conky.cc/variables>
|
|
-- color names are X11 colors: <https://en.wikipedia.org/wiki/X11_color_names#Color_name_chart>
|
|
-- - can also use #rrggbb syntax
|
|
-- example configs: <https://forum.manjaro.org/t/conky-showcase-2022/97123>
|
|
-- example configs: <https://www.reddit.com/r/Conkyporn/>
|
|
|
|
conky.config = {
|
|
out_to_wayland = true,
|
|
update_interval = 10,
|
|
|
|
alignment = 'middle_middle',
|
|
own_window_type = 'desktop',
|
|
-- own_window_argb_value: opacity of the background (0-255)
|
|
own_window_argb_value = 0,
|
|
-- own_window_argb_value = 92,
|
|
-- own_window_colour = '#beebe5', -- beebe5 matches nixos flake bg color
|
|
|
|
-- "border" pads the entire conky window
|
|
-- this can be used to control the extent of the own_window background
|
|
border_inner_margin = 8,
|
|
-- optionally, actually draw borders
|
|
-- draw_borders = true,
|
|
|
|
-- shades are drop-shadows, outline is the centered version. both apply to text only
|
|
draw_shades = true,
|
|
draw_outline = false,
|
|
default_shade_color = '#beebe5',
|
|
default_outline_color = '#beebe5',
|
|
|
|
font = 'sans-serif:size=8',
|
|
use_xft = true,
|
|
|
|
default_color = '#ffffff',
|
|
color1 = '000000',
|
|
color2 = '404040',
|
|
}
|
|
|
|
-- texeci <interval_sec> <cmd>: run the command periodically, _in a separate thread_ so as not to block rendering
|
|
conky.text = [[
|
|
${color1}${shadecolor 707070}${font sans-serif:size=50:style=Bold}${alignc}${exec date +"%H:%M"}${font}
|
|
${color2}${shadecolor a4d7d0}${font sans-serif:size=20}${alignc}${exec date +"%a %d %b"}${font}
|
|
|
|
|
|
${color1}${shadecolor}${font sans-serif:size=22:style=Bold}${alignc}${exec @bat@ }${font}
|
|
${color1}${shadecolor}${font sans-serif:size=20:style=Bold}${alignc}${texeci 600 @weather@ }${font}
|
|
|
|
|
|
${color2}${shadecolor a4d7d0}${font sans-serif:size=16}${alignc}⇅ ${downspeedf wlan0}K/s${font}
|
|
${font sans-serif:size=16}${alignc}☵ $memperc% $cpu%${font}
|
|
]]
|