Giter Site home page Giter Site logo

py3status-github-notifications's Introduction

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 [email protected]: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

py3status-github-notifications's People

Contributors

mcgillij avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.