From 3bace4ac392fb914263377369383f5ac23111c61 Mon Sep 17 00:00:00 2001 From: Igor Soarez Date: Mon, 19 Oct 2026 16:19:10 +0300 Subject: wait for tmux at startup, force utf-8 for tmux clients, add launchd packaging running under launchd, the tmux client defaults to the c locale, which makes tmux mangle tab-separated -f output into underscores, so every pane parsed as one field and the watcher silently saw nothing; invoke tmux with -u so format output is locale-independent. drop the startup fail-fast: the watcher now waits for a tmux server and attaches when one appears, which is the right shape for a login agent. ship the launchd plist under packaging/launchd. --- packaging/launchd/dev.dingger.dingger.plist | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 packaging/launchd/dev.dingger.dingger.plist (limited to 'packaging/launchd') diff --git a/packaging/launchd/dev.dingger.dingger.plist b/packaging/launchd/dev.dingger.dingger.plist new file mode 100644 index 0000000..212b903 --- /dev/null +++ b/packaging/launchd/dev.dingger.dingger.plist @@ -0,0 +1,30 @@ + + + + + EnvironmentVariables + + PATH + /opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin + RUST_LOG + debug + + KeepAlive + + Label + dev.dingger.dingger + ProgramArguments + + /Users/YOURUSER/.local/bin/dingger + watch + + RunAtLoad + + StandardErrorPath + /Users/YOURUSER/Library/Logs/dingger.log + StandardOutPath + /Users/YOURUSER/Library/Logs/dingger.log + ThrottleInterval + 10 + + -- cgit v1.2.3