From 2312d3978b7d123968e834c0e0080ad2ff5559df Mon Sep 17 00:00:00 2001 From: Igor Soarez Date: Mon, 5 Oct 2026 12:02:45 +0300 Subject: tmuxrdr: own directories, to run beside stock herdr app_dir_name() names the directory every herdr path is built from -- config, sessions, sockets, logs, plugin registry, state. A release build of tmuxrdr now uses "tmuxrdr", so ~/.config/tmuxrdr and ~/.local/state/tmuxrdr, and shares nothing with a stock herdr on the same machine. Debug builds keep "herdr-dev", which herdr's own tests expect. --- src/config/io.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/config/io.rs b/src/config/io.rs index 110d431e..0ec3290e 100644 --- a/src/config/io.rs +++ b/src/config/io.rs @@ -23,7 +23,10 @@ pub fn app_dir_name() -> &'static str { if cfg!(debug_assertions) { "herdr-dev" } else { - "herdr" + // tmuxrdr: its own config, state, sessions, sockets and plugins, so it + // runs beside stock herdr sharing none of them. Debug builds keep + // herdr-dev, which herdr's own tests expect. + "tmuxrdr" } } -- cgit v1.2.3