From 692b44d648472fdf52048f6040d223ea7befe755 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 25 Apr 2024 17:05:06 -0500 Subject: removed unnecessary hardcoded paths & fixed a typo - defined constants for all commonly used paths - replaced hardcoded instances throughout the config with the variables - fixed typo in scripts/reset-to-first-launch.sj --- modules/calibredb-epub-config.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/calibredb-epub-config.el') diff --git a/modules/calibredb-epub-config.el b/modules/calibredb-epub-config.el index 11aca93d..db86dd1e 100644 --- a/modules/calibredb-epub-config.el +++ b/modules/calibredb-epub-config.el @@ -24,8 +24,8 @@ ("l" . calibredb-filter-by-tag)) :config ;; basic config - (setq calibredb-root-dir "~/sync/books/") - (setq calibredb-library-alist '(("~/sync/books/"))) + (setq calibredb-root-dir books-dir) + (setq calibredb-library-alist (list books-dir)) (setq calibredb-db-dir (expand-file-name "metadata.db" calibredb-root-dir)) (setq calibredb-program "/usr/bin/calibredb") (setq calibredb-preferred-format "epub") -- cgit v1.2.3