1
0
Fork 0
uvgotmail/README.md

30 lines
871 B
Markdown

# 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