Skip to content

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

License

Notifications You must be signed in to change notification settings

ntk148v/polybar-mail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polybar Mail

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

GitHub license GitHub stars


Preview

Dependencies

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

Installation

  • Get polybarmail
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
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
[module/mail]
type = custom/script
exec = ~/.config/polybar/polybarmail.py
tail = true
click-left = xdg-open https://<your-mail-website>

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages