Skip to main content

py3status-github-notifications

py3status module for showing your Github notifications in i3

Downloads

Screenshot

Status Bar with py3status-github-notifications Status Bar with py3status-github-notifications red

Prerequisites

Getting your Notification API Token

You can get this directly on Github, by going to your own Account settings, Developer Settings and finally Personal access tokens.

Make sure to limit the access to ONLY notifications.

notifications only

Installation

There are several methods to install py3status-github-notifications.

Directly from Github using git, pip / pipenv or poetry, the AUR (Arch package).

Direct From Github

Installing directly from Github with git, means you will need to make sure you have the dependencies already installed.

git clone git@github.com:mcgillij/py3status-github-notifications.git
mkdir -p ~/.i3/py3status/ && cd ~/i3/py3status/
ln -s ../../py3status-github-notifications/src/py3status_github_notifications/github_notifications.py ./

And down to the configuration section.

Installing with Pip, Pipenv or Poetry

You will need to install the fonts separately to get the :octocat: emoji.

pip install py3status-github-notifications
pipenv install py3status-github-notifications
poetry add py3status-github-notifications

With yay

yay -S py3status-github-notifications

Configuration

Once you have the module installed using whichever method you chose above, edit your py3status configuration and add the following options.

~/.config/i3/i3status.conf

...

order += "github_notifications"

github_notifications {
    gh_token = "PASTE YOUR NOTIFICATIONS ONLY TOKEN HERE"
    on_click 1 = "exec xdg-open https://github.com/notifications"$
}
...

And restart i3 and your should be good to go.

Configuration Options

You can pass in the following configuration options:

  • cache_timeout # default 300

Metadata

Release files for py3status-github-notifications 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py3status-github-notifications 0.1.6
File Size Uploaded
py3status-github-notifications-0.1.6.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py3status-github-notifications 0.1.6
File Interpreter ABI Platform
py3status_github_notifications-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 9.2 kB

Release files / py3status-github-notifications-0.1.6.tar.gz

Download URL py3status-github-notifications-0.1.6.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b6bf32e4092db44be88762f17f73c6cd190e6dfac2f640d71ba54d3b1e5c7f27
BLAKE2b-256 checksum
How to use checksums
da9137144901a1226eccdaa1ea0561c0feee8342d1e1021821ac95d1bbad651c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.10.7 Linux/5.19.10-zen1-1-zen

Release files / py3status_github_notifications-0.1.6-py3-none-any.whl

Download URL py3status_github_notifications-0.1.6-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7159fd859f6da20b9d8b923f0b2e94d5d555ec1f4cc63688a39a2432988a1657
BLAKE2b-256 checksum
How to use checksums
c5c51519149e3c1fc2702c09151228fcf98f8d5d72df038581206de99537a3c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.10.7 Linux/5.19.10-zen1-1-zen

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.2

1 release file

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page