{"id":13732652,"url":"https://github.com/crabvk/bar-protonmail","last_synced_at":"2025-04-09T19:19:33.703Z","repository":{"id":57413989,"uuid":"262565901","full_name":"crabvk/bar-protonmail","owner":"crabvk","description":"A Waybar/Polybar module for ProtonMail","archived":false,"fork":false,"pushed_at":"2025-02-26T10:09:45.000Z","size":73,"stargazers_count":42,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T19:19:29.366Z","etag":null,"topics":["polybar","protonmail","waybar"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crabvk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-09T12:27:31.000Z","updated_at":"2025-03-19T17:35:39.000Z","dependencies_parsed_at":"2024-01-06T12:18:14.920Z","dependency_job_id":"077e7f22-46cf-4ab8-92f5-fc0ed7417875","html_url":"https://github.com/crabvk/bar-protonmail","commit_stats":{"total_commits":14,"total_committers":4,"mean_commits":3.5,"dds":0.3571428571428571,"last_synced_commit":"ba003e5bff7b876111a1dd68797a5350ff8f2785"},"previous_names":["vyachkonovalov/bar-protonmail"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabvk%2Fbar-protonmail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabvk%2Fbar-protonmail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabvk%2Fbar-protonmail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabvk%2Fbar-protonmail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crabvk","download_url":"https://codeload.github.com/crabvk/bar-protonmail/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248094991,"owners_count":21046770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["polybar","protonmail","waybar"],"created_at":"2024-08-03T03:00:31.054Z","updated_at":"2025-04-09T19:19:33.679Z","avatar_url":"https://github.com/crabvk.png","language":"Python","funding_links":[],"categories":["Plugins","Python"],"sub_categories":[],"readme":"# New message notifications and unread messages count from ProtonMail (Waybar/Polybar module)\n\n## Dependencies\n\n* proton-client \u003e= 0.7.1 ([not available on pypi.org](https://github.com/ProtonMail/proton-python-client/issues/36))\n* ttf-font-awesome (default badge: )\n* libnotify (new email notifications, can be disabled with `-dn` flag)\n* libcanberra (optional, notification sound)\n* PySocks (optional, support for proxies)\n\nTo display notifications you must have a [notification daemon](https://wiki.archlinux.org/title/Desktop_notifications#Notification_servers) running on your system.\n\n## Install\n\n### ArchLinux and derivatives\n\n[AUR package](https://aur.archlinux.org/packages/bar-protonmail/)\n\n### Other distros\n\n```sh\ngit clone https://github.com/crabvk/bar-protonmail.git\n# WARN: Checkout to the latest tag, don't use master branch.\npip install -e .\n```\n\nAnd now you can execute *~/.local/bin/bar-protonmail*\n\n## Use\n\nFirst, you need to authenticate the client:\n\n```sh\nbar-protonmail auth\n```\n\nthen just run `bar-protonmail` or `bar-protonmail -f polybar`.\nSession, cache and log are stored in ~/.cache/bar-protonmail.\n\n## Waybar config example\n\n~/.config/waybar/config\n```json\n\"modules-right\": {\n    \"custom/protonmail\"\n}\n\n\"custom/protonmail\": {\n    \"exec\": \"bar-protonmail\",\n    \"return-type\": \"json\",\n    \"interval\": 10,\n    \"tooltip\": false,\n    \"on-click\": \"xdg-open https://mail.proton.me/u/0/inbox\"\n}\n```\n~/.config/waybar/style.css\n```css\n#custom-protonmail.unread {\n    color: white;\n}\n#custom-protonmail.inaccurate {\n    color: darkorange;\n}\n#custom-protonmail.error {\n    color: darkred;\n}\n```\n\n## Polybar config example\n\n```ini\nmodules-right = protonmail\n...\n[module/protonmail]\ntype = custom/script\nexec = bar-protonmail -f polybar\ninterval = 10\nclick-left = xdg-open https://mail.proton.me/u/0/inbox\n```\n\n## Script arguments\n\nSee `bar-protonmail -h` for the list of arguments with descriptions.  \nPossible values for `-s`, `--sound` can be found with:\n```shell\nls /usr/share/sounds/freedesktop/stereo/ | cut -d. -f1\n```\nfor example `-s message-new-instant`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrabvk%2Fbar-protonmail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrabvk%2Fbar-protonmail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrabvk%2Fbar-protonmail/lists"}