polybar-pm-inbox
A polybar module that displays the number of emails in your Protonmail inbox.
Requirements
- protonmail-api for node.js
- Font Awesome
Setup
Font
For any bars you will be adding this module to, make sure you include Font Awesome as a font.
[bar/example]
font-0 = "Font Awesome 5 Free:style=Solid:size=10;1"
Add to your modules.ini
- Make sure to include the filepath for this script on the
exec
line, leaving2>/dev/null
. - Also add the path to your preferred Internet browser on the
click-left
line.
[module/pm-inbox]
type = custom/script
exec = /path/to/pm-inbox.js 2>/dev/null
click-left = /path/to/your/browser https://protonmail.com/login
interval = 3600