diff options
| author | A Farzat <a@farzat.xyz> | 2026-01-24 09:01:51 +0300 |
|---|---|---|
| committer | A Farzat <a@farzat.xyz> | 2026-01-24 09:01:51 +0300 |
| commit | 139935c64071d9a55a615e5df8a85c292edf886b (patch) | |
| tree | 5e7e838b3f725c794bd1dbce6cb9a6cf7102bd3d | |
| parent | 179bc2e8897ae6976e5d01e57d135ea26bc0d701 (diff) | |
| download | dotfiles-master.tar.gz dotfiles-master.zip | |
| -rw-r--r-- | .config/mutt/accounts/abdurrahmanfarza@student.purdueglobal.edu.muttrc | 38 | ||||
| -rw-r--r-- | .config/mutt/muttrc | 1 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.config/mutt/accounts/abdurrahmanfarza@student.purdueglobal.edu.muttrc b/.config/mutt/accounts/abdurrahmanfarza@student.purdueglobal.edu.muttrc new file mode 100644 index 0000000..a8f9dd3 --- /dev/null +++ b/.config/mutt/accounts/abdurrahmanfarza@student.purdueglobal.edu.muttrc @@ -0,0 +1,38 @@ +# vim: filetype=neomuttrc +# muttrc file for account abdurrahmanfarza@student.purdueglobal.edu +set realname = "Abdurrahman Farzat" +set from = "abdurrahmanfarza@student.purdueglobal.edu" +set sendmail = "msmtp -a abdurrahmanfarza@student.purdueglobal.edu" +alias me Farzat <abdurrahmanfarza@student.purdueglobal.edu> +set folder = "$MAILDIR/abdurrahmanfarza@student.purdueglobal.edu/" +set header_cache = "$XDG_CACHE_HOME/mutt/abdurrahmanfarza@student.purdueglobal.edu/headers" +set message_cachedir = "$XDG_CACHE_HOME/mutt/abdurrahmanfarza@student.purdueglobal.edu/bodies" +set mbox_type = Maildir +source "$XDG_CONFIG_HOME/mutt/switch.muttrc" +set spoolfile = +INBOX +set postponed = +[Gmail]/Drafts +set trash = +[Gmail]/Bin +set record = "+[Gmail]/Sent Mail" + +macro index o "<shell-escape>tmux split-window -dl 25% 'mailsync abdurrahmanfarza@student.purdueglobal.edu'<enter>" "run mbsync to sync abdurrahmanfarza@student.purdueglobal.edu" + +mailboxes `mdir="$MAILDIR/abdurrahmanfarza@student.purdueglobal.edu/"; find "$mdir" -mindepth 1 -type d -name cur | sed -e 's:/cur$:":' -e "s:$mdir:\"=:" | sort | tr '\n' ' '` + +macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox" +macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox" +macro index,pager Ci ";<copy-message>=INBOX<enter>" "copy mail to inbox" +macro index,pager gd "<change-folder>=[Gmail]/Drafts<enter>" "go to drafts" +macro index,pager Md ";<save-message>=[Gmail]/Drafts<enter>" "move mail to drafts" +macro index,pager Cd ";<copy-message>=[Gmail]/Drafts<enter>" "copy mail to drafts" +macro index,pager gj "<change-folder>=[Gmail]/Spam<enter>" "go to junk" +macro index,pager Mj ";<save-message>=[Gmail]/Spam<enter>" "move mail to junk" +macro index,pager Cj ";<copy-message>=[Gmail]/Spam<enter>" "copy mail to junk" +macro index,pager gt "<change-folder>=[Gmail]/Bin<enter>" "go to trash" +macro index,pager Mt ";<save-message>=[Gmail]/Bin<enter>" "move mail to trash" +macro index,pager Ct ";<copy-message>=[Gmail]/Bin<enter>" "copy mail to trash" +macro index,pager gs "<change-folder>=[Gmail]/Sent Mail<enter>" "go to sent" +macro index,pager Ms ";<save-message>=[Gmail]/Sent Mail<enter>" "move mail to sent" +macro index,pager Cs ";<copy-message>=[Gmail]/Sent Mail<enter>" "copy mail to sent" +macro index,pager ga "<change-folder>=Archive<enter>" "go to archive" +macro index,pager Ma ";<save-message>=Archive<enter>" "move mail to archive" +macro index,pager Ca ";<copy-message>=Archive<enter>" "copy mail to archive" diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc index 48502f2..1dcec26 100644 --- a/.config/mutt/muttrc +++ b/.config/mutt/muttrc @@ -7,3 +7,4 @@ macro index,pager i2 '<sync-mailbox><enter-command>source "$XDG_CONFIG_HOME/mutt macro index,pager i3 '<sync-mailbox><enter-command>source "$XDG_CONFIG_HOME/mutt/accounts/Farzat.uni@outlook.com.muttrc"<enter><change-folder>!<enter>;<check-stats>' "switch to Farzat.uni@outlook.com" macro index,pager i4 '<sync-mailbox><enter-command>source "$XDG_CONFIG_HOME/mutt/accounts/Farzat@outlook.com.muttrc"<enter><change-folder>!<enter>;<check-stats>' "switch to Farzat@outlook.com" macro index,pager i5 '<sync-mailbox><enter-command>source "$XDG_CONFIG_HOME/mutt/accounts/ai.farzat@gmail.com.muttrc"<enter><change-folder>!<enter>;<check-stats>' "switch to ai.farzat@gmail.com" +macro index,pager i6 '<sync-mailbox><enter-command>source "$XDG_CONFIG_HOME/mutt/accounts/abdurrahmanfarza@student.purdueglobal.edu.muttrc"<enter><change-folder>!<enter>;<check-stats>' "switch to abdurrahmanfarza@student.purdueglobal.edu" |
