aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--conky.conf36
-rw-r--r--conky.conf.in46
3 files changed, 47 insertions, 36 deletions
diff --git a/.gitignore b/.gitignore
index aa0c404..54cdcff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
HANDOFF.md
weather.env
+conky.conf
diff --git a/conky.conf b/conky.conf
deleted file mode 100644
index 7bddb64..0000000
--- a/conky.conf
+++ /dev/null
@@ -1,36 +0,0 @@
--- Development config with literal colours. Task 5 replaces this with the
--- UDT-rendered conky.conf.in. Not the file the installed dashboard uses.
-conky.config = {
- out_to_x = false,
- out_to_wayland = true,
- own_window = true,
- own_window_type = 'normal',
- own_window_class = 'conky-dash',
- own_window_argb_visual = true,
- own_window_argb_value = 200,
- minimum_width = 1200,
- minimum_height = 700,
- double_buffer = true,
- update_interval = 2,
- total_run_times = 0,
- draw_borders = false,
- draw_shades = false,
- override_utf8_locale = true,
- lua_load = './dashboard.lua',
- lua_draw_hook_post = 'main',
- -- Literal dev palette, Catppuccin Macchiato values.
- color1 = '#8aadf4', -- heading
- color2 = '#a5adcb', -- label
- color3 = '#494d64', -- rule / border
- color4 = '#8bd5ca', -- value
- color5 = '#c6a0f6', -- highlight
- color6 = '#a6da95', -- ok
- color7 = '#ed8796', -- critical
- default_color = '#cad3f5', -- body
- -- The card fill. dashboard.lua reads this for colors.surface; without it the
- -- hex() fallback paints every card magenta.
- default_shade_color = '#1e2030', -- body shade
-}
-
--- Empty: Cairo output covers conky.text entirely, verified by experiment.
-conky.text = [[]]
diff --git a/conky.conf.in b/conky.conf.in
new file mode 100644
index 0000000..81ff55f
--- /dev/null
+++ b/conky.conf.in
@@ -0,0 +1,46 @@
+-- Conky Lua dashboard, rendered by unified-desktop-theme.
+--
+-- Generated from conky.conf.in for scheme @SCHEME@. Do not edit the rendered
+-- conky.conf: the next install.sh overwrites it. Edit this template.
+conky.config = {
+ out_to_x = false,
+ out_to_wayland = true,
+ own_window = true,
+ -- 'normal', not 'desktop': a desktop-type window is a layer-surface at
+ -- level 0 and Hyprland cannot assign it to a workspace, which is the whole
+ -- point of this dashboard.
+ own_window_type = 'normal',
+ -- Distinct from the plain 'Conky' class used by any desktop-layer instance,
+ -- so the windowrules for one cannot match the other.
+ own_window_class = 'conky-dash',
+ -- Translucency via own_window_colour '#AARRGGBB'. NOT own_window_argb_visual
+ -- (removed in conky 1.24: ARGB is always on when available) nor
+ -- own_window_argb_value (deprecated); both emit warnings on this build.
+ -- c8 = 200/255 alpha.
+ -- c8 = 200/255 alpha. The colour follows the palette: @BODY_SHADE@ with its
+ -- leading '#' stripped, so a scheme switch recolours the backdrop too.
+ own_window_colour = '#c8@BODY_SHADE_RAW@',
+ minimum_width = 1200,
+ minimum_height = 700,
+ double_buffer = true,
+ update_interval = 2,
+ total_run_times = 0,
+ draw_borders = false,
+ draw_shades = false,
+ override_utf8_locale = true,
+ lua_load = '~/.config/conky/dashboard.lua',
+ lua_draw_hook_post = 'main',
+ color1 = '@HEADING@',
+ color2 = '@LABEL@',
+ color3 = '@RULE@',
+ color4 = '@VALUE@',
+ color5 = '@HIGHLIGHT@',
+ color6 = '@OK@',
+ color7 = '@CRITICAL@',
+ default_color = '@BODY@',
+ default_outline_color = '@BODY_OUTLINE@',
+ default_shade_color = '@BODY_SHADE@',
+}
+
+-- Empty by design: Cairo output covers conky.text.
+conky.text = [[]]