aboutsummaryrefslogtreecommitdiffstats
path: root/mbsync/.mbsyncrc
diff options
context:
space:
mode:
authorGravatar Tom Willemse2021-10-21 23:45:24 -0700
committerGravatar Tom Willemse2021-11-02 22:06:32 -0700
commitf5896ccc12007abbb89688685fcd061c1d4b4bed (patch)
treef48cc6ef3964e4c86c2b0d2d99e724ab8681c488 /mbsync/.mbsyncrc
parent92d2d4650e645853333474c16234a8a1d5a705f9 (diff)
downloadnew-dotfiles-f5896ccc12007abbb89688685fcd061c1d4b4bed.tar.gz
new-dotfiles-f5896ccc12007abbb89688685fcd061c1d4b4bed.zip
[mbsync] Get the account credentials from the secret service
Instead of using my custom Python script that looks them up, just use the command-line application included in the ‘libsecret’ package on Archlinux. Remove the custom helper script that I’d written for them.
Diffstat (limited to 'mbsync/.mbsyncrc')
-rw-r--r--mbsync/.mbsyncrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbsync/.mbsyncrc b/mbsync/.mbsyncrc
index c710405..1d9573b 100644
--- a/mbsync/.mbsyncrc
+++ b/mbsync/.mbsyncrc
@@ -2,7 +2,7 @@
IMAPAccount ryuslash
Host imap-ryuslash.alwaysdata.net
User tom@ryuslash.org
-PassCmd "~/usr/bin/get-mail-password ryuslash"
+PassCmd "secret-tool lookup application mbsync account ryuslash"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
@@ -26,7 +26,7 @@ SyncState *
IMAPAccount gmail
Host imap.gmail.com
User ryuslash@gmail.com
-PassCmd "~/usr/bin/get-mail-password gmail"
+PassCmd "secret-tool lookup application mbsync account gmail"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt