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, '/');
os from September 14June McEnroe 2024-09-24Add photos from September 12June McEnroe 2024-09-24Add photos from September 7June McEnroe 2024-09-24Allow not having descriptionsJune McEnroe I'm sorry, I can't keep writing descriptions. It makes posting photos take too long, I often don't know the words for what I'm looking at, and a good description is an entirely different work of art than the photo I took, and I'm just a photographer. It's visual art. 2024-09-23Automatically select the last used lens for a bodyJune McEnroe 2024-09-19Add photos from September 5June McEnroe Had to prefix the folder number onto these file names manually because they must have come out of a different scanner or something. 2024-09-15Add some more film stocks to the listJune McEnroe 2024-09-13Add photos from September 2June McEnroe 2024-09-13Add Fomapan 200 to films listJune McEnroe 2024-09-10Add August 29 picnic photosJune McEnroe 2024-09-08Apply some bold to trips renderingJune McEnroe This seems easier to visually scan. The only other thing I'd like is a nicer date rendering but JavaScript is useless for that. 2024-09-08Render trips hopefully more efficientlyJune McEnroe 2024-09-08Allow removing bodies and lensesJune McEnroe 2024-09-08Limit body width so it looks less silly on desktopJune McEnroe 2024-09-07Handle no film being loadedJune McEnroe 2024-09-07Fancy up the text a littleJune McEnroe