diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf index 432ec231..232c428d 100644 --- a/.config/aerc/aerc.conf +++ b/.config/aerc/aerc.conf @@ -690,7 +690,9 @@ address-book-cmd='ugrep -jP -m 100 --color=never "%s" /home/fic/mail/ranked-addr # standard output, one file per line. If it is present, then aerc does not # capture the standard output and instead reads the files from the temporary # file which should have the same format. -file-picker-cmd='/home/fic/.config/mail/attach-picker.sh' +# file-picker-cmd='/home/fic/.config/mail/attach-picker.sh' +# file-picker-cmd='footclient yazi --chooser-file %f' +file-picker-cmd='yazi --chooser-file %f' # # Allow to address yourself when replying diff --git a/.config/aerc/binds.conf b/.config/aerc/binds.conf index 2f725d0c..a422e9c2 100644 --- a/.config/aerc/binds.conf +++ b/.config/aerc/binds.conf @@ -191,7 +191,8 @@ v = :preview # Preview message p = :postpone # Postpone q = :choose -o d discard abort -o p postpone postpone # Abort or postpone e = :edit # Edit (body and headers) -a = :attach # Add attachment +# a = :attach -m # Add attachment +a = :menu -c 'footclient yazi --chooser-file %f' -b :attach d = :detach # Remove attachment H = :multipart text/html