summaryrefslogtreecommitdiff
path: root/shroud
diff options
context:
space:
mode:
Diffstat (limited to 'shroud')
-rw-r--r--shroud/config.scm.in3
-rw-r--r--shroud/ui.scm2
2 files changed, 4 insertions, 1 deletions
diff --git a/shroud/config.scm.in b/shroud/config.scm.in
index 00d6f39..815ed55 100644
--- a/shroud/config.scm.in
+++ b/shroud/config.scm.in
@@ -18,8 +18,11 @@
(define-module (shroud config)
#:export (%shroud-version
+ %gpg
%xclip))
(define %shroud-version "0.1")
+(define %gpg "@GPG@")
+
(define %xclip "@XCLIP@")
diff --git a/shroud/ui.scm b/shroud/ui.scm
index 75106c9..ab78010 100644
--- a/shroud/ui.scm
+++ b/shroud/ui.scm
@@ -116,7 +116,7 @@ ARGS is the list of arguments received by the 'throw' handler."
(define %default-config
`((database-file . ,(string-append (getenv "HOME") "/.config/shroud/db.gpg"))
- (gpg-binary . "gpg")))
+ (gpg-binary . ,%gpg)))
(define (load-config)
"Load and evaluate user configuration file."