1
0
Fork 0
alerts you when u have unread messages
Go to file
kaylee b5cce2a049 broken idle version 2024-02-02 23:59:03 +00:00
LICENSE Initial commit 2024-02-02 07:53:42 +00:00
README.md we now use cat instead of redundant check function 2024-02-02 23:52:53 +00:00
uvgotmail.py we now use cat instead of redundant check function 2024-02-02 23:52:53 +00:00
uvgotmail_buggy_idle.py broken idle version 2024-02-02 23:59:03 +00:00

README.md

uvgotmail

alerts u when u have unread messages by adding 📬 to your bash prompt

USAGE:

  • configure your imap server in ~/.uvgotmail/config file. you can also use an existing .muttrc file.
  • add (./uvgotmail.py --daemon &) to the end of your .bashrc file
  • find the line where your PS1 is set and put \$(cat ~/.uvgotmail/unread) at the start

OPTIONS:

  • --mailbox-symbol [string]: specify your own symbol instead of 📬
  • --no-count: by default, if you have multiple messages you will get (n) 📬 in your PS1. this option turns that off.
  • --config [path]: path to config file
  • --mutt: load server settings from .muttrc file

EXAMPLE CONFIG:

no_count=True
mailbox_symbol=[M]
mutt=False
# this is a comment
ssl=True
server=mail.domain.com
port=993
user=user@domain.com
password=ThisIsMyPassword