aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 12 insertions, 4 deletions
diff --git a/README.md b/README.md
index b51e9fa..d7cce00 100644
--- a/README.md
+++ b/README.md
@@ -129,12 +129,20 @@ cheap.
## Development
-Run it in the foreground to see Lua output, which is the only debugging channel:
+After editing `dashboard.lua` or a widget:
- conky -c ~/.config/conky/conky.conf
+ ./restart.sh
-Conky has no hot-reload, so kill any running instance first (`pkill -x conky`)
-rather than ending up with two.
+Conky never rereads its config and the Lua is symlinked into `~/.config/conky/`,
+so a restart is the whole update path. The script syntax-checks first and
+refuses to restart on a Lua error, since the alternative is a blank screen with
+no message. Only a change to `conky.conf.in` or the palette needs UDT's
+`install.sh` to re-render first.
+
+To see Lua output, which is the only debugging channel, run it in the
+foreground instead:
+
+ pkill -x conky; conky -c ~/.config/conky/conky.conf
Run the parser and layout checks: