From 03dd8b3cd8d03300ee85377ea40fa486819d2ebc Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Wed, 6 Mar 2024 14:59:00 -0500 Subject: Update shortcutgen env and misc others --- .config/mutt/accounts/benjamin@chausse.xyz.muttrc | 79 +++++++++++++++++++++++ .config/mutt/my-configs | 29 --------- 2 files changed, 79 insertions(+), 29 deletions(-) create mode 100644 .config/mutt/accounts/benjamin@chausse.xyz.muttrc (limited to '.config') diff --git a/.config/mutt/accounts/benjamin@chausse.xyz.muttrc b/.config/mutt/accounts/benjamin@chausse.xyz.muttrc new file mode 100644 index 0000000..99ffd4a --- /dev/null +++ b/.config/mutt/accounts/benjamin@chausse.xyz.muttrc @@ -0,0 +1,79 @@ +# vim: filetype=neomuttrc +# muttrc file for account benjamin@chausse.xyz +set realname = "Benjamin Chausse" +set from = "benjamin@chausse.xyz" +set sendmail = "msmtp -a benjamin@chausse.xyz" +alias me Benjamin Chausse +set folder = "/home/master/.local/share/mail/benjamin@chausse.xyz" +set header_cache = /home/master/.cache/mutt-wizard/benjamin@chausse.xyz/headers +set message_cachedir = /home/master/.cache/mutt-wizard/benjamin@chausse.xyz/bodies +set mbox_type = Maildir +set hostname = "chausse.xyz" +source /usr/share/mutt-wizard/switch.muttrc +set spoolfile = +INBOX +set postponed = +Drafts +set trash = +Trash +set record = +Sent + +set crypt_use_gpgme = yes +set pgp_default_key = "ABC4A5A7430D6309ACBD219044F94DD6456590C3" +set pgp_sign_as = "ABC4A5A7430D6309ACBD219044F94DD6456590C3" + +macro index o "mw -y benjamin@chausse.xyz" "run mbsync to sync benjamin@chausse.xyz" +macro index \eg "unset wait_keygpg --list-secret-keys; printf 'Enter email ID of user to publish: '; read eID; printf 'Enter fingerprint of GPG key to publish: '; read eFGPT; /usr/libexec/gpg-wks-client --create \$eFGPT \$eID | msmtp --read-envelope-from --read-recipients -a benjamin@chausse.xyz" "publish GPG key to WKS provider" +macro index \eh "/usr/libexec/gpg-wks-client --receive | msmtp --read-envelope-from --read-recipients -a benjamin@chausse.xyz" "confirm GPG publication" + +mailboxes "=Trash" "=Junk" "=Archives/2030" "=Archives/2029" "=Archives/2028" "=Archives/2027" "=Archives/2026" "=Archives/2025" "=Archives/2024" "=Archives/2023" "=Archives/2022" "=Archives/2021" "=Archives/2020" "=Bills" "=Sent" "=Drafts" "=INBOX" + +macro index,pager ga " =Archives/2024" "go to current year archive" +macro index,pager Ma "; =Archives/2024" "archive message" +macro index,pager Ca " =Archives/2024" "copy message to archive" + +macro index,pager g0 " =Archives/2020" "go to 2020 archives" +macro index,pager M0 "; =Archives/2020" "move to 2020 archives" +macro index,pager g0 " =Archives/2020" "copy to 2020 archives" + +macro index,pager g1 " =Archives/2021" "go to 2021 archives" +macro index,pager M1 "; =Archives/2021" "move to 2021 archives" +macro index,pager g1 " =Archives/2021" "copy to 2021 archives" + +macro index,pager g2 " =Archives/2022" "go to 2022 archives" +macro index,pager M2 "; =Archives/2022" "move to 2022 archives" +macro index,pager g2 " =Archives/2022" "copy to 2022 archives" + + +macro index,pager g3 " =Archives/2023" "go to 2023 archives" +macro index,pager M3 "; =Archives/2023" "move to 2023 archives" +macro index,pager g3 " =Archives/2023" "copy to 2023 archives" + + +macro index,pager g4 " =Archives/2024" "go to 2024 archives" +macro index,pager M4 "; =Archives/2024" "move to 2024 archives" +macro index,pager g4 " =Archives/2024" "copy to 2024 archives" + + +macro index,pager g5 " =Archives/2025" "go to 2025 archives" +macro index,pager M5 "; =Archives/2025" "move to 2025 archives" +macro index,pager g5 " =Archives/2025" "copy to 2025 archives" + + +macro index,pager g6 " =Archives/2026" "go to 2026 archives" +macro index,pager M6 "; =Archives/2026" "move to 2026 archives" +macro index,pager g6 " =Archives/2026" "copy to 2026 archives" + + +macro index,pager g7 " =Archives/2027" "go to 2027 archives" +macro index,pager M7 "; =Archives/2027" "move to 2027 archives" +macro index,pager g7 " =Archives/2027" "copy to 2027 archives" + + +macro index,pager g8 " =Archives/2028" "go to 2028 archives" +macro index,pager M8 "; =Archives/2028" "move to 2028 archives" +macro index,pager g8 " =Archives/2028" "copy to 2028 archives" + + +macro index,pager g9 " =Archives/2029" "go to 2029 archives" +macro index,pager M9 "; =Archives/2029" "move to 2029 archives" +macro index,pager g9 " =Archives/2029" "copy to 2029 archives" + + diff --git a/.config/mutt/my-configs b/.config/mutt/my-configs index 831bc67..a84efba 100644 --- a/.config/mutt/my-configs +++ b/.config/mutt/my-configs @@ -2,33 +2,4 @@ # Add the following line to your muttrc to have them: # source $HOME/.config/mutt/my-configs -# GOOBOOK: {{{ -# goobook let's you use google contacts information. -# You install it with pip: pip install --user goobook -# Query emails -set query_command="goobook query %s" -# Add email to contacts -macro index,pager a "goobook add" "add the sender address to Google contacts" - -# Note that if you use an old version of mutt-wizard, -# you will need to disable abook in it's script: -# sed -i "s/^set\squery_command.*$//" /usr/share/mutt-wizard/mutt-wizard.muttrc -# }}} - -# PGP Encryption: {{{ -# I want pgp encryption by default when possible. -# The following line makes this possible: -set crypt_use_gpgme=yes -set crypt_autosign = yes -set pgp_self_encrypt = yes -set pgp_default_key = 'ABC4A5A7430D6309ACBD219044F94DD6456590C3' -set pgp_import_command = "gpg --no-verbose --import -v %f" -# }}} - -# Muttprint: {{{ -set print_command="muttprint" -# Dump all headers -# macro index p " " -# }}} - # vim: filetype=neomuttrc -- cgit v1.2.3