Requires:
libsecret
or a similar package)Tested with:
#!/bin/sh
secret-tool lookup "$1" "$2"
# wait until the password is available
while [ $? != 0 ]; do
secret-tool lookup "$1" "$2"
done
accounts.conf
to use source-cred-cmd
and outgoing-cred-cmd
to point to the script.source-cred-cmd = ~/.config/aerc/scripts/wait-for-creds.sh Title "Mailaccount (Work)"
aerc will now wait for the credentials to become available (for you to unlock you password manager) when starting.
commit 1f2e3e107452808058998aafd6f1089127d97a1b Author: Mark Lansky <zerdox@zerdox.dev> Date: 2023-09-24T20:26:52+04:00 configurations/colors: fix colorize filter 404 link Update outdated link: /item/filters/colorize => /filters/colorize.c Signed-off-by: Mark Lansky <zerdox@zerdox.dev> Acked-by: Robin Jarry <robin@jarry.cc>