summaryrefslogtreecommitdiff
path: root/shroud/ui.scm
diff options
context:
space:
mode:
Diffstat (limited to 'shroud/ui.scm')
-rw-r--r--shroud/ui.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/shroud/ui.scm b/shroud/ui.scm
index 2fb3708..3cceac3 100644
--- a/shroud/ui.scm
+++ b/shroud/ui.scm
@@ -115,7 +115,7 @@ ARGS is the list of arguments received by the 'throw' handler."
(report-load-error file args))))
(define %default-config
- `((database-file . ,(string-append (getenv "HOME") "/.shroud-db"))
+ `((database-file . ,(string-append (getenv "HOME") "/.config/shroud/db.gpg"))
(gpg-binary . "gpg")))
(define (load-config)
@@ -175,4 +175,5 @@ ARGS is the list of arguments received by the 'throw' handler."
command)))
(apply proc config db args))))
(unless (eq? db result)
+ (mkdir-p (dirname db-file))
(save-secrets result db-file user-id))))))))