Giter Club home page Giter Club logo

protoncheck's Introduction

protoncheck 

Go Reference Awesome

awesome waybar/polybar/yabar/i3blocks module to check the amount of unread emails in a ProtonMail inbox.

Installation

You may compile protoncheck yourself or download a copy from the Releases.

Usage

Run protoncheck, using the --username and --password flags to supply your ProtonMail username and password, respectively. It will output the amount of unread emails in your inbox.

⚠️ Protoncheck doesn't work with accounts with 2FA enabled.

waybar Config

Below is a sample Waybar configuration to check your ProtonMail inbox every 30 seconds.

~/.config/waybar/config:

"modules-right": {
  "custom/protoncheck"
}

"custom/protoncheck": {
		"exec": "~/bin/protoncheck --username [email protected] --password PASSWORD",
		"format": " {}",
		"interval": 30,
		"on-click": "xdg-open https://mail.protonmail.com/inbox"
}

polybar Config

Below is a sample Polybar configuration to check your ProtonMail inbox every 30 seconds.

~/.config/polybar/config:

modules-right = protoncheck

[module/protoncheck]
type = custom/script
exec = ~/bin/protoncheck --username [email protected] --password PASSWORD | sed  's/^/ /'
interval = 30
click-left = xdg-open https://mail.protonmail.com/inbox

yabar Config

Below is a sample yabar configuration to check your ProtonMail inbox every 30 seconds.

~/.config/yabar/yabar.conf:

	title: {
		exec: ~/bin/protoncheck --username [email protected] --password PASSWORD | sed  's/^/ /';
		type: "periodic";
		interval: 30;
	}

i3blocks Config

Below is a sample i3blocks configuration to check your ProtonMail inbox every 30 seconds.

~/.config/i3blocks/config:

[protoncheck]
command=~/bin/protoncheck --username [email protected] --password PASSWORD | sed  's/^/ /'
interval=30
color=#A4C2F4

Credits

  • Special thank you to @crabvk for making bar-protonmail, without which I wouldn't have had the inspiration to make protoncheck.

Sponsoring

Work on protoncheck is done by volunteers in their free time, and takes time and effort. To show your appreciation and to provide continued motivation for work on this and other open source software, please send a donation.

protoncheck's People

Contributors

servusdei2018 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.