Skip to content

Files

Latest commit

782f349 · Jul 19, 2018

History

History

inbox-imap-shellnetrc

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 8, 2018
Jul 19, 2018
Jan 11, 2018

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.

Module

[module/inbox-imap-shellnetrc]
type = custom/script
exec = ~/polybar-scripts/inbox-imap-shellnetrc.sh
interval = 60