mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-11-08 09:53:13 +00:00
23 lines
512 B
Markdown
23 lines
512 B
Markdown
|
# Script: inbox-pop3-shellnetrc
|
||
|
|
||
|
A script that shows if there are unread mails in your POP3 inbox.
|
||
|
|
||
|
This script actually use POP3s. `curl` can also handle unencrypted POP3. 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`
|
||
|
|
||
|
|
||
|
## Module
|
||
|
|
||
|
```ini
|
||
|
[module/inbox-pop3-shellnetrc]
|
||
|
type = custom/script
|
||
|
exec = ~/polybar-scripts/inbox-pop3-shellnetrc.sh
|
||
|
interval = 60
|
||
|
```
|