aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-16 08:27:52 +0200
committerDanilo M. <danix@danix.xyz>2026-09-16 08:27:52 +0200
commit593b8a65eda7ba9f7c7341ef5c1584b92bfda9c4 (patch)
tree32fcd337f6930d0fd47e7ee169724272514b7d85
parente520610f5bb3512a4243f2f14f016cdd02badbcd (diff)
downloadunified-desktop-theme-593b8a65eda7ba9f7c7341ef5c1584b92bfda9c4.tar.gz
unified-desktop-theme-593b8a65eda7ba9f7c7341ef5c1584b92bfda9c4.zip
fix(conky): install the generated config, do not just restart conky
install.sh generated templates/conky.conf and restarted conky, but no line ever put the file where conky reads it. git log -S"config/conky" finds nothing, so the install step never existed: ~/.config/conky/conky.conf was a hand-placed copy that happened to match while the scheme was macchiato, and silently desynced when it changed. The restart then made it worse than doing nothing, relaunching conky onto a stale config on every install. Symlinked, like everything else the repo owns, and placed before the restart because conky reads its config once at startup. Safe to link wholesale: the host-specific parts, the mpd host and the tuned ${goto} offsets in conky.text, live in conky.conf.in, so only the colours differ between schemes. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
-rwxr-xr-xinstall.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index e5e583d..6d56fd3 100755
--- a/install.sh
+++ b/install.sh
@@ -134,6 +134,13 @@ if command -v scp >/dev/null 2>&1; then
fi
fi
+# conky reads one config at startup and never rereads it, so the generated file
+# has to be in place before the restart below. Symlinked like everything else
+# the repo owns: the host-specific parts (mpd host, the ${goto} offsets in
+# conky.text) live in conky.conf.in, so only the colours differ per scheme.
+mkdir -p "$HOME/.config/conky"
+ln -sfn "$repo/templates/conky.conf" "$HOME/.config/conky/conky.conf"
+
# Reload what is running. Writing the configs is not enough: waybar, kitty and
# Hyprland reread on a signal, conky only on a restart, and rofi
# reads its theme per launch so it needs nothing. Each is guarded, because none