From 593b8a65eda7ba9f7c7341ef5c1584b92bfda9c4 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 16 Sep 2026 08:27:52 +0200 Subject: 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 --- install.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v1.2.3