An open API service indexing awesome lists of open source software.

https://github.com/ntk148v/polybar-mail

A Polybar module written in pure Python to show unread messages from mail inspired by polybar-gmail
https://github.com/ntk148v/polybar-mail

polybar polybar-module polybar-scripts

Last synced: 5 months ago
JSON representation

A Polybar module written in pure Python to show unread messages from mail inspired by polybar-gmail

Awesome Lists containing this project

README

          


Polybar Mail


A Polybar module to show unread messages from mail inspired by polybar-gmail



GitHub license


GitHub stars





## Preview

![](./screenshots/nounread.png)
![](./screenshots/unread.png)

## Dependencies

- **Font Awesome** - default email icon.
- **canberra-gtk-play** - new email sound notification (optional).

## Installation

- Get polybarmail

```bash
git clone http://github.com/ntk148v/polybar-mail.git
cp polybarmail.py ~/.config/polybar/polybarmail.py
cp mail.ini ~/.config/polybar/mail.ini
# Modify mail.ini with your mail configuration
```

- Scripts arguments

```bash
usage: polybarmail.py [-h] [--config CONFIG] [-p PREFIX] [-c COLOR] [-ns] [-dr DURATION]

optional arguments:
-h, --help show this help message and exit
--config CONFIG
-p PREFIX, --prefix PREFIX
-c COLOR, --color COLOR
-ns, --nosound
-dr DURATION, --duration DURATION
```

- Update polybar config

```ini
[module/mail]
type = custom/script
exec = ~/.config/polybar/polybarmail.py
tail = true
click-left = xdg-open https://
```