From 284a6128ef5d0bfd5beaa6b38607cde5d313d5eb Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Fri, 14 Mar 2025 19:00:06 -0400 Subject: [PATCH] AutoYADM commit: 2025-03-14 19:00:06 --- .config/aerc/accounts.conf | 54 +++++++++++++++++----------------- .config/aerc/binds.conf | 2 +- .config/aerc/personal-map.conf | 2 +- .config/aerc/school-map.conf | 4 +-- .config/yazi/.gitignore | 1 + .config/yazi/keymap.toml | 3 +- .notmuch/hooks/post-new | 5 ---- 7 files changed, 34 insertions(+), 37 deletions(-) diff --git a/.config/aerc/accounts.conf b/.config/aerc/accounts.conf index b61a871f..0bf5c373 100644 --- a/.config/aerc/accounts.conf +++ b/.config/aerc/accounts.conf @@ -19,31 +19,31 @@ default = INBOX copy-to = Sent signature-file = /home/fic/mail/fichtinger.d@queensu.ca.sig -# [Personal-Local] -# source = notmuch://~/.mail/ -# maildir-store = ~/.mail/ -# maildir-account-path = personal -# query-map = ~/.config/aerc/personal-map.conf -# outgoing = smtp+plain://daniel%40ficd.ca@127.0.0.1:1025 -# outgoing-cred-cmd = pass show proton/bridge -# default = InboxNM -# from = Daniel Fichtinger -# copy-to = Sent -# cache-headers = true -# signature-file = /home/fic/mail/daniel@ficd.ca.sig -# check-mail-cmd = /home/fic/.config/aerc/mail-sync.sh -# exclude-tags = spam,archive,deleted +[Personal-Local] +source = notmuch://~/.mail/ +maildir-store = ~/.mail/ +maildir-account-path = personal +query-map = ~/.config/aerc/personal-map.conf +outgoing = smtp+plain://daniel%40ficd.ca@127.0.0.1:1025 +outgoing-cred-cmd = pass show proton/bridge +default = InboxNM +from = Daniel Fichtinger +copy-to = Sent +cache-headers = true +signature-file = /home/fic/mail/daniel@ficd.ca.sig +check-mail-cmd = /home/fic/.config/aerc/mail-sync.sh +exclude-tags = spam,archive,deleted -# [School-Local] -# source = notmuch://~/.mail/ -# maildir-store = ~/.mail/ -# maildir-account-path = school -# query-map = ~/.config/aerc/school-map.conf -# outgoing = smtp+xoauth2://18daf3%40queensu.ca@outlook.office365.com:587 -# outgoing-cred-cmd = /home/fic/tools/mutt_oauth2.py /home/fic/tools/tokenfile-test -# default = InboxNM -# from = Daniel Fichtinger -# copy-to = Sent -# signature-file = /home/fic/mail/fichtinger.d@queensu.ca.sig -# check-mail-cmd = /home/fic/.config/aerc/mail-sync.sh -# exclude-tags = spam,archive,deleted +[School-Local] +source = notmuch://~/.mail/ +maildir-store = ~/.mail/ +maildir-account-path = school +query-map = ~/.config/aerc/school-map.conf +outgoing = smtp+xoauth2://18daf3%40queensu.ca@outlook.office365.com:587 +outgoing-cred-cmd = /home/fic/tools/mutt_oauth2.py /home/fic/tools/tokenfile-test +default = InboxNM +from = Daniel Fichtinger +copy-to = Sent +signature-file = /home/fic/mail/fichtinger.d@queensu.ca.sig +check-mail-cmd = /home/fic/.config/aerc/mail-sync.sh +exclude-tags = spam,archive,deleted diff --git a/.config/aerc/binds.conf b/.config/aerc/binds.conf index 96ac38ce..e9285242 100644 --- a/.config/aerc/binds.conf +++ b/.config/aerc/binds.conf @@ -17,7 +17,7 @@ I = :next-tab = :reload [messages] -o = :exec /home/fic/.config/aerc/mail-sync.sh +o = :exec /home/fic/.config/mail/mail-sync.sh q = :prompt 'Quit?' quit t = :toggle-threads diff --git a/.config/aerc/personal-map.conf b/.config/aerc/personal-map.conf index 11135682..9ef99ee3 100644 --- a/.config/aerc/personal-map.conf +++ b/.config/aerc/personal-map.conf @@ -1,2 +1,2 @@ InboxNM=tag:inbox and not tag:archived and not tag:deleted and tag:personal and not tag:sent -SentNM=from:daniel@ficd.ca or from:ficcdaf@proton.me or from:isafic@proton.me +SentNM=tag:sent and tag:personal diff --git a/.config/aerc/school-map.conf b/.config/aerc/school-map.conf index c3dd60d1..ad179ede 100644 --- a/.config/aerc/school-map.conf +++ b/.config/aerc/school-map.conf @@ -1,2 +1,2 @@ -InboxNM=tag:inbox and not tag:archived and not tag:deleted and tag:school -SentNM=from:fichtinger.d@queensu.ca or from:18daf3@queensu.ca +InboxNM=tag:inbox and not tag:archived and not tag:deleted and tag:school and not tag:sent +SentNM=tag:sent and tag:school diff --git a/.config/yazi/.gitignore b/.config/yazi/.gitignore index aaa32d88..43711bea 100644 --- a/.config/yazi/.gitignore +++ b/.config/yazi/.gitignore @@ -1,2 +1,3 @@ flavors/ plugins/ +!plugins/symlink.yazi diff --git a/.config/yazi/keymap.toml b/.config/yazi/keymap.toml index 5a656d4f..a2da33cc 100644 --- a/.config/yazi/keymap.toml +++ b/.config/yazi/keymap.toml @@ -84,7 +84,8 @@ prepend_keymap = [ { on = [ "g", "l", - ], run = '''shell 'ya emit cd "$(readlink -f "$1")"' ''', desc = "Follow hovered symlink" }, + # ], run = '''shell 'ya emit cd "$(readlink -f "$1")"' ''', desc = "Follow hovered symlink" }, + ], run = "plugin symlink", desc = "Follow hovered symlink" }, ] [input] prepend_keymap = [ diff --git a/.notmuch/hooks/post-new b/.notmuch/hooks/post-new index acf1fda9..6e2886ab 100755 --- a/.notmuch/hooks/post-new +++ b/.notmuch/hooks/post-new @@ -1,8 +1,3 @@ #!/bin/sh -# notmuch tag +school -new -- "path:school/**" -# notmuch tag -inbox -new +sent from:daniel@ficd.ca or from:fichtinger.d@queensu.ca or from:18daf3@queensu.ca or from:ficcdaf@proton.me -# # notmuch tag +inbox -new -- "path:*/INBOX/*" -# notmuch tag +personal -new -- "path:personal/**" - afew --tag --new