summaryrefslogtreecommitdiff
path: root/bin/mw
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mw')
-rwxr-xr-xbin/mw6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/mw b/bin/mw
index fffc965..5e5a610 100755
--- a/bin/mw
+++ b/bin/mw
@@ -38,7 +38,7 @@ msmtp_header="defaults
auth on
tls on
tls_trust_file $sslcert
-logfile $XDG_CONFIG_HOME/msmtp/msmtp.log
+logfile ${XDG_CONFIG_HOME/:-$HOME/.config}/msmtp/msmtp.log
"
msmtp_profile="account $title
host $smtp
@@ -59,8 +59,8 @@ CertificateFile $sslcert
MaildirStore $title-local
Subfolders Verbatim
-Path $XDG_DATA_HOME/mail/$title/
-Inbox $XDG_DATA_HOME/mail/$title/INBOX
+Path ${XDG_DATA_HOME:-$HOME/.local/share}/mail/$title/
+Inbox ${XDG_DATA_HOME:-$HOME/.local/share}/mail/$title/INBOX
Flatten .
Channel $title