From d1b57c1d68fa60a4a67c208f29b739ef0f20d5c5 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 3 Dec 2024 17:33:13 +0800 Subject: Update --- mutt/default | 2 +- mutt/muttrc.topo | 134 +++++++++++++++++++++++++++---------------------------- 2 files changed, 68 insertions(+), 68 deletions(-) (limited to 'mutt') diff --git a/mutt/default b/mutt/default index bae76f6..01730a1 100644 --- a/mutt/default +++ b/mutt/default @@ -1,5 +1,5 @@ # Edit rc file and source it. This is the most important thing -macro index \Cv ":set wait_key=no!$EDITOR ~/.config/mutt/muttrc:source ~/.config/mutt/muttrc:set wait_key=yes" +macro index,browser \Cv ":set wait_key=no!$EDITOR ~/.config/mutt/muttrc:source ~/.config/mutt/muttrc:set wait_key=yes" # Connection options set ssl_force_tls = yes diff --git a/mutt/muttrc.topo b/mutt/muttrc.topo index c737cb7..48e2b10 100644 --- a/mutt/muttrc.topo +++ b/mutt/muttrc.topo @@ -6,14 +6,14 @@ set folder = "/home/pham/Maildir" set smtp_url = "smtp://$my_user:25" # Identify meself -#set from = "pham@topo.tw" -#set realname = "謝晉凡 Hsieh Chin Fan" -#set signature = "~/.config/mutt/.signature" -#set pgp_use_gpg_agent = yes -#set crypt_use_gpgme = yes -#set pgp_timeout = 300 -#set pgp_sign_as = 6DD8C14A # replace 6DD8C14A with your gpg key id -#set autocrypt = yes +set from = "pham@topo.tw" +set realname = "謝晉凡 Hsieh Chin Fan" +set signature = "~/.config/mutt/.signature" +set pgp_use_gpg_agent = yes +set crypt_use_gpgme = yes +set pgp_timeout = 300 +set pgp_sign_as = 6DD8C14A # replace 6DD8C14A with your gpg key id +set autocrypt = yes # For contacts set display_filter = ~/.config/mutt/message_filter.sh @@ -21,62 +21,62 @@ source ~/.config/mutt/alias.topo source ~/.config/mutt/hooks.topo ## Basic Mailbox -#set spoolfile = "+INBOX" -#set mbox= "+mbox" -#set move = yes -#set record = "+INBOX" -#set trash = "+Trash" -#set postponed = "+Drafts" -#set mask="!(INBOX|mbox|dev|Sent|Trash|Drafts|DeltaChat|civildef|hometeach|osm|STOCK|pay|keep|login|update|test|spam)" -# -## Sidebar -#mailboxes -label '📭 [i]' +INBOX \ -# -label '📥 [m]' +mbox \ -# -label '👀 [d]' +dev \ -# -label '💬 [D]' +DeltaChat \ -# +github \ -# +JOB \ -# +promotion \ -# "+---- Watch -----" \ -# -label CivilDEF +civildef \ -# +hometeach \ -# -label OSM +osm \ -# +STOCK \ -# -label '📢 [f]' +feedback \ -# "+-- Permanent ---" \ -# -label '💲 [p]' +pay \ -# -label '🍺 [k]' +keep \ -# -label '📤 [s]' +Sent \ -# -label '🗑 [t]' -poll +Trash \ -# +login \ -# +update \ -# +service \ -# +Drafts \ -# +test \ -# +spam -# -## Keybinding -#macro index,pager 'source ~/.config/mutt/muttrc.topo!' -#macro index,pager 'source ~/.config/mutt/muttrc.gmail!' -#macro index,pager 'source ~/.config/mutt/muttrc.b97602041!' -# -## Hooks for accounts -##folder-hook imaps://imap.gmail.com/ 'source ~/.config/mutt/muttrc.gmail' -##folder-hook ~/Maildir 'source ~/.config/mutt/muttrc.b97602041' -# -## Change mailboxes -#macro index,pager,browser gi "+INBOX" "Switch to INBOX folder" -#macro index,pager,browser gm "+mbox" "Switch to mbox folder" -#macro index,pager,browser gp "+pay" "Switch to pay folder" -#macro index,pager,browser gP "+promotion" "Switch to promotion folder" -#macro index,pager,browser gh "+hometeach" "Switch to hometeach folder" -#macro index,pager,browser gs "+Sent" "Switch to Sent folder" -#macro index,pager,browser gS "+spam" "Switch to spam folder" -#macro index,pager,browser gd "+dev" "Switch to DEV folder" -#macro index,pager,browser gD "+DeltaChat" "Switch to DeltaChat folder" -#macro index,pager,browser gt "+Trash" "Switch to Trash folder" -#macro index,pager,browser gl "+login" "Switch to login folder" -#macro index,pager,browser ga "+arch-general" "Switch to arch-general folder" -#macro index,pager,browser gk "+keep" "Switch to keep folder" -#macro index,pager,browser gu "+update" "Switch to update folder" -#macro index,pager,browser gf "+feedback" "Switch to feedback folder" +set spoolfile = "+" +set mbox= "+mbox" +set move = yes +set record = "+Sent" +set trash = "+Trash" +set postponed = "+Drafts" +set mask="!(tmp|new|cur|dovecot.*|\\..*)" + +# Sidebar +mailboxes -label '📭 [i]' + \ + -label '📥 [m]' +mbox \ + -label '👀 [d]' +dev \ + -label '💬 [D]' +DeltaChat \ + +github \ + +JOB \ + +promotion \ + "+---- Watch -----" \ + -label CivilDEF +civildef \ + +hometeach \ + -label OSM +osm \ + +STOCK \ + -label '📢 [f]' +feedback \ + "+-- Permanent ---" \ + -label '💲 [p]' +pay \ + -label '🍺 [k]' +keep \ + -label '📤 [s]' +Sent \ + -label '🗑 [t]' -poll +Trash \ + +login \ + +update \ + +service \ + +Drafts \ + +test \ + +spam + +# Keybinding +macro index,pager 'source ~/.config/mutt/muttrc.topo!' +macro index,pager 'source ~/.config/mutt/muttrc.gmail!' +macro index,pager 'source ~/.config/mutt/muttrc.b97602041!' + +# Hooks for accounts +#folder-hook imaps://imap.gmail.com/ 'source ~/.config/mutt/muttrc.gmail' +#folder-hook ~/Maildir 'source ~/.config/mutt/muttrc.b97602041' + +# Change mailboxes +macro index,pager,browser gi "+" "Switch to INBOX folder" +macro index,pager,browser gm "+mbox" "Switch to mbox folder" +macro index,pager,browser gp "+pay" "Switch to pay folder" +macro index,pager,browser gP "+promotion" "Switch to promotion folder" +macro index,pager,browser gh "+hometeach" "Switch to hometeach folder" +macro index,pager,browser gs "+Sent" "Switch to Sent folder" +macro index,pager,browser gS "+spam" "Switch to spam folder" +macro index,pager,browser gd "+dev" "Switch to DEV folder" +macro index,pager,browser gD "+DeltaChat" "Switch to DeltaChat folder" +macro index,pager,browser gt "+Trash" "Switch to Trash folder" +macro index,pager,browser gl "+login" "Switch to login folder" +macro index,pager,browser ga "+arch-general" "Switch to arch-general folder" +macro index,pager,browser gk "+keep" "Switch to keep folder" +macro index,pager,browser gu "+update" "Switch to update folder" +macro index,pager,browser gf "+feedback" "Switch to feedback folder" -- cgit v1.2.3-70-g09d2