ModernOSWeather/configs/conky.conf

62 lines
1.9 KiB
Plaintext

-- Conky, a system monitor https://github.com/brndnmtthws/conky
--
-- This configuration file is Lua code. You can write code in here, and it will
-- execute when Conky loads. You can use it to generate your own advanced
-- configurations.
--
-- Try this (remove the `--`):
--
-- print("Loading Conky config")
--
-- For more on Lua, see:
-- https://www.lua.org/pil/contents.html
conky.config = {
alignment = 'top_right',
background = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'black',
double_buffer = true,
draw_borders = false,
draw_graph_borders = false,
draw_outline = false,
draw_shades = yes,
extra_newline = false,
font = 'Nimbus Mono PS:size=20',
gap_x = 8,
gap_y = 15,
minimum_height = 5,
minimum_width = 650,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
own_window = true,
own_window_argb_visual = true,
own_window_class = 'Conky',
own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
own_window_type = 'desktop',
own_window_argb_value = 0,
show_graph_range = false,
show_graph_scale = false,
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
use_xft = true,
}
conky.text = [[
${font Nimbus Mono PS:size=32}${time %A}${font}
${voffset 10}${font Nimbus Mono PS:size=32}${time %B %d}${font}${font Nimbus Mono PS:style=bold:size=80}${voffset -48}${alignr}${time %H:%M}${font}
$hr
${color DDFFFF}${font Nimbus Mono PS:size=32}Weather${color}${font}
${voffset 15}${color DDFFFF}Current: ${color grey}${exec cat /home/citrullux/example}
${voffset 15}${color DDFFFF}Today: ${color grey}${exec cat /home/citrullux/example}
${voffset 15}${color DDFFFF}This week: ${color grey}${exec cat /home/citrullux/example}
]]