aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspv <spv@spv.sh>2025-12-03 15:11:46 -0500
committerspv <spv@spv.sh>2025-12-03 15:11:46 -0500
commit71a46e756e5af9c27cfaf54cb6337cec3966c01f (patch)
tree1df6a42f1095709e579fd37aa4b14ee4419c9050
parent6a7f7db435465564ea92a3d544bf78549d5ab54c (diff)
fix report path to conform to ISO8601 \& add sb to uninstall in Makefile
-rw-r--r--Makefile1
-rw-r--r--src/config.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d4803f4..3fdfe62 100644
--- a/Makefile
+++ b/Makefile
@@ -26,6 +26,7 @@ install: all
uninstall:
rm ~/.local/bin/stroke_buddy
+ rm ~/.local/bin/sb
rm ~/.config/systemd/user/stroke_buddy.service
rm ~/.config/systemd/user/default.target.wants/stroke_buddy.service
# rm -rf ~/.local/stroke_buddy
diff --git a/src/config.h b/src/config.h
index 908a95b..040cfc6 100644
--- a/src/config.h
+++ b/src/config.h
@@ -6,7 +6,7 @@
#define LOG_FP stderr
#define LOG_LEVEL LOG_INFO
-#define REPORT_PATH "/home/spv/.local/stroke_buddy/%d-%d-%d@%d.log"
+#define REPORT_PATH "/home/spv/.local/stroke_buddy/%d-%02d-%02d@%d.log"
#define IDLE_TIME 30