dotfiles/.bin/dexec_mail
2022-12-06 08:01:44 +01:00

11 lines
197 B
Bash
Executable File

#!/bin/sh
ALIASES=$(ksh -ic alias | grep ^mutt- | cut -d= -f1)
. $HOME/.bin/_config
MAILBOX="imaps://mail.codevoid.de"
SEL=$(printf "$ALIASES" | $DMENU_CMD -p Mutt)
[ -z "$SEL" ] || texec $SEL