1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-12-01 19:06:41 +00:00
Dotfiles/.config/polybar/polybar-scripts/inbox-imap-shellnetrc/README.md

28 lines
631 B
Markdown
Raw Normal View History

2020-07-27 04:59:00 +00:00
# Script: inbox-imap-shellnetrc
A script that shows if there are unread mails in your IMAP inbox.
This script actually use IMAPs. `curl` can also handle unencrypted IMAP. You only need to change the protocol in the command.
The login data is stored in a `.netrc`. This is more secure because the password is not visible in the process list.
## Dependencies
* `curl`
## Configuration
For Gmail, you must allow [less secure apps](https://myaccount.google.com/security#connectedapps).
## Module
```ini
[module/inbox-imap-shellnetrc]
type = custom/script
exec = ~/polybar-scripts/inbox-imap-shellnetrc.sh
interval = 60
```