diff options
author | Jonassenher <jonflod@outlook.com> | 2020-08-30 19:02:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-30 19:02:15 +0200 |
commit | d60d2398869796ee1fd7e6c424afe11654e2e702 (patch) | |
tree | 5c66bc34ab107b4232b1ce2399411d5e7394c441 | |
parent | 06f416f5eb73c4d01df25046d17a1cfdbfb116ae (diff) |
Fixed the case for no environmental variables
-rwxr-xr-x | bin/mw | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |