diff options
Diffstat (limited to 'patches/ttym-logging-3.0.diff')
| -rw-r--r-- | patches/ttym-logging-3.0.diff | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/patches/ttym-logging-3.0.diff b/patches/ttym-logging-3.0.diff index 0b16351..859b345 100644 --- a/patches/ttym-logging-3.0.diff +++ b/patches/ttym-logging-3.0.diff @@ -1,6 +1,6 @@ diff -ruN a/config.def.h b/config.def.h ---- a/config.def.h 2026-08-25 17:18:15.710123219 +0200 -+++ b/config.def.h 2026-08-25 17:18:15.714123291 +0200 +--- a/config.def.h 2026-08-25 19:07:53.121901667 +0200 ++++ b/config.def.h 2026-08-25 19:07:53.121901667 +0200 @@ -4,6 +4,11 @@ static const char *const BAR_FILL = ">"; static const char *const BAR_EMPTY = "-"; @@ -13,25 +13,9 @@ diff -ruN a/config.def.h b/config.def.h /* persistent alert: keep ringing the bell until any key is pressed. * Foreground-only; backgrounded runs always fall through. * Override per-run with --no-persist. -diff -ruN a/config.h b/config.h ---- a/config.h 2026-08-25 17:18:15.710123219 +0200 -+++ b/config.h 2026-08-25 17:18:15.714123291 +0200 -@@ -4,6 +4,11 @@ - static const char *const BAR_FILL = ">"; - static const char *const BAR_EMPTY = "-"; - -+/* log location is ~/.config/ttym/ttym.log (honours $XDG_CONFIG_HOME). -+ * One-shot migration: ~/.config/timer/ -> ~/.config/ttym/ if the new -+ * directory doesn't already exist; legacy log file inside is renamed. -+ */ -+ - /* persistent alert: keep ringing the bell until any key is pressed. - * Foreground-only; backgrounded runs always fall through. - * Override per-run with --no-persist. -Binary files a/timer and b/timer differ diff -ruN a/ttym.c b/ttym.c ---- a/ttym.c 2026-08-25 17:18:15.710123219 +0200 -+++ b/ttym.c 2026-08-25 17:18:15.714123291 +0200 +--- a/ttym.c 2026-08-25 19:07:53.121901667 +0200 ++++ b/ttym.c 2026-08-25 19:07:53.121901667 +0200 @@ -13,6 +13,7 @@ #include <string.h> #include <strings.h> |
