Created
November 20, 2019 13:42
-
-
Save NuxRo/5a4c12316b2f624c9576e350fbc61662 to your computer and use it in GitHub Desktop.
Alpine mail client new email notifications
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# set alpine to | |
# newmail-fifo-path=~/tmp/alpine.fifo | |
# then | |
fifofile=~/tmp/alpine.fifo | |
while true; do | |
if read line; then | |
notify-send "$line" | |
fi | |
done <"$fifofile" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment