AutoYADM commit: 2025-03-17 12:30:07
This commit is contained in:
parent
e2b0fc2008
commit
2c4d34b0d7
4 changed files with 22 additions and 7 deletions
|
@ -197,13 +197,15 @@ n = :abort<Enter> # Abort (discard message, no confirmation)
|
|||
s = :sign<Enter> # Toggle signing
|
||||
x = :encrypt<Enter> # Toggle encryption to all recipients
|
||||
v = :preview<Enter> # Preview message
|
||||
p = :postpone<Enter> # Postpone
|
||||
dr = :postpone<Enter> # Postpone (save as Draft)
|
||||
q = :choose -o d discard abort -o p postpone postpone<Enter> # Abort or postpone
|
||||
e = :edit<Enter> # Edit (body and headers)
|
||||
# a = :attach -m<Enter> # Add attachment
|
||||
a = :menu -c 'footclient yazi --chooser-file %f' -b :attach<Enter>
|
||||
d = :detach<space> # Remove attachment
|
||||
H = :multipart text/html<Enter>
|
||||
a = :menu -c 'footclient yazi --chooser-file %f' -b :attach<Enter> # Pick attachments with Yazi
|
||||
dt = :detach<space> # Remove attachment
|
||||
H = :multipart text/html<Enter> # Convert Markdown to HTML
|
||||
# paste an attachment from clipboard
|
||||
# p = :menu -c ''
|
||||
|
||||
[terminal]
|
||||
$noinherit = true
|
||||
|
|
12
.config/aerc/paste-attachment.sh
Executable file
12
.config/aerc/paste-attachment.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/env bash
|
||||
|
||||
# File to write the path
|
||||
temp="$1"
|
||||
|
||||
# if the clipboard is plain/text, we assume it's a path
|
||||
# otherwise, we assume it's a mime-type to be copied
|
||||
if wl-paste --list-types | grep -qv '^text/plain$'; then
|
||||
echo "Non-text type."
|
||||
else
|
||||
echo "Text type."
|
||||
fi
|
|
@ -1,10 +1,10 @@
|
|||
Videos /home/fic/Videos/ v
|
||||
Videos /home/fic/Videos v
|
||||
Videos /home/fic/Videos/ v
|
||||
SyncDocuments /home/fic/SyncDocuments s
|
||||
SyncDocuments /home/fic/SyncDocuments/ s
|
||||
Pictures /home/fic/Pictures p
|
||||
Pictures /home/fic/Pictures/ p
|
||||
Downloads /home/fic/Downloads D
|
||||
Downloads /home/fic/Downloads/ D
|
||||
Documents /home/fic/Documents/ d
|
||||
Downloads /home/fic/Downloads D
|
||||
Documents /home/fic/Documents d
|
||||
Documents /home/fic/Documents/ d
|
||||
|
|
|
@ -13,3 +13,4 @@ zsh -ic 'mksh attach-picker;exit'
|
|||
zsh -ic 'wl-paste > email_1.png;exit'
|
||||
zsh -ic 'wl-paste > email_2.png;exit'
|
||||
zsh -ic 'ya pack -a h-hg/yamb;exit'
|
||||
zsh -ic 'mksh paste-attachment;exit'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue