summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-12-01 20:24:29 -0500
committerJune McEnroe <june@causal.agency>2019-12-01 20:24:29 -0500
commita2ebcb31d3ec2cd25364d1ac906c9744718b485c (patch)
tree2208de81886c87167c8a390df035b4e265ebe1ad
parentAdd XDG_DATA_DIRS default value (diff)
downloadlitterbox-a2ebcb31d3ec2cd25364d1ac906c9744718b485c.tar.gz
litterbox-a2ebcb31d3ec2cd25364d1ac906c9744718b485c.zip
Change database file name to litterbox.sqlite
-rw-r--r--litterbox.16
-rw-r--r--litterbox.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/litterbox.1 b/litterbox.1
index 76c32c6..d7163da 100644
--- a/litterbox.1
+++ b/litterbox.1
@@ -1,4 +1,4 @@
-.Dd November 29, 2019
+.Dd December 1, 2019
 .Dt LITTERBOX 1
 .Os
 .
@@ -76,7 +76,7 @@ for the default path.
 .
 .Sh FILES
 .Bl -tag -width Ds
-.It Pa $XDG_DATA_DIRS/litterbox/database.sqlite
+.It Pa $XDG_DATA_DIRS/litterbox/litterbox.sqlite
 The database file is searched for first in
 .Ev $XDG_DATA_HOME ,
 usually
@@ -85,7 +85,7 @@ followed by the colon-separated list of paths
 .Ev $XDG_DATA_DIRS ,
 usually
 .Pa /usr/local/share:/usr/share .
-.It Pa ~/.local/share/litterbox/database.sqlite
+.It Pa ~/.local/share/litterbox/litterbox.sqlite
 The most likely path to the database file.
 .El
 .
diff --git a/litterbox.h b/litterbox.h
index 07d4bbc..5a9a4f6 100644
--- a/litterbox.h
+++ b/litterbox.h
@@ -24,7 +24,7 @@
 #include <sys/stat.h>
 #include <sysexits.h>
 
-#define DATABASE_PATH "litterbox/database.sqlite"
+#define DATABASE_PATH "litterbox/litterbox.sqlite"
 
 static inline sqlite3 *dbOpenPath(char *path, int flags) {
 	char *base = strrchr(path, '/');
> 2020-09-11Remove NetBSD from install scriptJune McEnroe I never use it. 2020-09-11Use MacPorts rather than pkgsrcJune McEnroe My system is probably such a mess now... 2020-09-11Add debian VM name to sshJune McEnroe 2020-09-11Add influencer tweetJune McEnroe 2020-09-10Add The Kingdom of GodsJune McEnroe Reading has really slowed down :( 2020-09-07Add SunglassesJune McEnroe An IRC find. 2020-09-06Add Between the BreathsJune McEnroe One of those good songs from a soundtrack of a film that probably isn't? The summary sounds a lot more interesting than the title implies, at least. 2020-09-04Open /dev/tty in nudgeJune McEnroe This makes it work even when it's run connected to a pipe, i.e. as the notify command of catgirl... 2020-09-04Add nudgeJune McEnroe 2020-09-03Build fbclock with -lzJune McEnroe I guess this got lost somewhere, long ago... 2020-08-29Add tweets from retweetsJune McEnroe