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
- Host: GitHub
- URL: https://github.com/ntk148v/polybar-mail
- Owner: ntk148v
- License: apache-2.0
- Created: 2022-04-04T10:53:05.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-05T08:17:54.000Z (almost 4 years ago)
- Last Synced: 2025-07-07T17:46:45.138Z (7 months ago)
- Topics: polybar, polybar-module, polybar-scripts
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Preview


## 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://
```