From fe32352c14fc838e803bd224d43f251b9fa215da Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 21 Oct 2026 19:12:23 +0200 Subject: docs(conky): conky reloads its config on an in-place write conky holds an inotify watch (IN_MODIFY) on the inodes of conky.conf and dashboard.lua and reloads when either is written in place: changing a colour line made the live dashboard recolour within one update, with the same PID. AGENTS.md and install.sh said it never rereads its config. The restart in install.sh stays: a first install, a config replaced by rename (which ends the watch) and a cached widget module still need it. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index a069dd7..9576bc6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -385,7 +385,9 @@ them by exit code: rofi exits non-zero for ordinary reasons such as Escape. - **conky**: change colours in the `conky.config` block only. `conky.text` is laid out with absolute `${goto}` pixel offsets tuned to label widths, so editing text means re-tuning every goto on that line. See - `~/.config/conky/CLAUDE.md`. Conky does not hot-reload. + `~/.config/conky/CLAUDE.md`. Conky reloads `conky.conf` and `dashboard.lua` + when either is written in place (inotify on the inode); an editor or tool + that saves by rename ends the watch, and then only a restart picks it up. - **Committed files carry no home paths.** A gitleaks hook blocks them, and it has been right every time. Where a live config mixes theme keys with personal data (`qt6ct.conf` has an `ignored_applications` list), track only the @@ -417,7 +419,7 @@ The table is what it does, and what to run if you change a config by hand. | hyprlock | nothing; it reads its config per lock, so the next lock picks it up | | kitty | `pkill -USR1 -x kitty` | | Sublime Text | nothing; it watches `Packages/User` and reloads both the scheme and the theme | -| conky | restart it; no hot-reload | +| conky | nothing; it reloads `conky.conf` on an in-place write. Restart it after a widget edit, or a save by rename | | neovim | `:colorscheme udt`, or restart it | | Qt / GTK apps | restart the app | | btop, Joplin | restart the app | -- cgit v1.2.3