diff options
| author | Craig Jennings <c@cjennings.net> | 2024-04-25 17:05:06 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-04-25 17:05:06 -0500 |
| commit | 692b44d648472fdf52048f6040d223ea7befe755 (patch) | |
| tree | 8ec08f4463640a720476c2901cd9e1cbee418b1f /modules/calibredb-epub-config.el | |
| parent | a5555afaf09be4c023f49661d48de803b2586927 (diff) | |
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
Diffstat (limited to 'modules/calibredb-epub-config.el')
| -rw-r--r-- | modules/calibredb-epub-config.el | 4 |
1 files changed, 2 insertions, 2 deletions
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") |
