From 48cc6cecb880712e66108d6d9f0f93a04a323a09 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 1 Oct 2021 20:13:13 -0400 Subject: updated dotfiles to latest in sway setup --- .mutt/muttrc | 12 ++++++------ .mutt/offlineimap.py | 2 ++ .mutt/personal | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) (limited to '.mutt') diff --git a/.mutt/muttrc b/.mutt/muttrc index cf8cbc5..23b7153 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -1,5 +1,5 @@ # Paths ---------------------------------------------- -set folder = ~/mail # mailbox location +set folder = ~/.mail # mailbox location #set alias_file = ~/.mutt/alias # where to store aliases set header_cache = ~/.mutt/cache/headers # where to store headers set message_cachedir = ~/.mutt/cache/bodies # where to store bodies @@ -63,8 +63,8 @@ bind index collapse-thread macro index \Cr "T~UN." "mark all messages as read" # Sync email -macro index O "offlineimap" "run offlineimap to sync all mail" -macro index i "offlineimap -qf INBOX" "run offlineimap to sync inbox" +macro index O "mbsync personal" "run mbsync to sync all mail" +macro index o "mbsync personal:INBOX" "run mbsync to sync inbox" # Saner copy/move dialogs # macro index C "?" "copy a message to a mailbox" @@ -144,7 +144,7 @@ bind index p recall-message set query_command = "abook --mutt-query '%s'" bind editor complete-query bind editor ^T complete -set editor="nvim -c 'set spell spelllang=en'" +set editor="vim -c 'set spell spelllang=en'" source ~/.mutt/mutt-colors-solarized-dark-16.muttrc #undo limit searches @@ -157,8 +157,8 @@ macro index "unset wait_keynotmuch-mutt #macro generic,index,pager \ca "abook" "launch abook" macro index,pager A "abook --add-email" "add the sender address to abook" -set spoolfile = "+personal/INBOX" +set spoolfile = "+INBOX" source ~/.mutt/personal -folder-hook personal/* source ~/.mutt/personal +#folder-hook personal/* source ~/.mutt/personal #folder-hook wired/* source ~/.mutt/work diff --git a/.mutt/offlineimap.py b/.mutt/offlineimap.py index f84b6bc..a885aef 100644 --- a/.mutt/offlineimap.py +++ b/.mutt/offlineimap.py @@ -3,3 +3,5 @@ from subprocess import check_output def get_password(account): return check_output("pass " + account, shell=True).splitlines()[0] + + diff --git a/.mutt/personal b/.mutt/personal index 748b1bf..d349c2b 100644 --- a/.mutt/personal +++ b/.mutt/personal @@ -1,5 +1,5 @@ set from = "sng@luxagraf.net" -set folder = ~/mail/personal +set folder = ~/.mail set sendmail = "/usr/bin/msmtp -a personal" set sendmail_wait = 0 set trash = "+Trash" -- cgit v1.2.3-70-g09d2