Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

colinodell/slack-status

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

slack-status

PyGTK application for easy Slack status switching via your notification area.

Designed for and tested on Ubuntu 14.04 LTS with Unity. Probably works with other GTK 3 desktop environments, but I really have no idea.

Screenshot

Requirements

  • Python 3
  • slackclient from PyPi
  • python3-gi from Ubuntu (apt-get install python3-gi)

Usage

  1. Clone this repository
  2. Create a new Slack app
    • Add the emoji:read and users.profile:write scopes
    • Jot down the OAuth token for the next step
  3. Copy config.json.example to config.json and edit the following:
    • Change slack_token to contain your OAuth token
    • Add/edit/remove the statuses to suit your needs. The text and emoji keys must be present; text can be an empty string.
  4. Run app.py!

Limitations

  • This only supports a single Slack workspace
  • Status changes made in Slack will not update here
  • Slack's default emojis can be used in your config.json but won't appear in the menu
  • Animated GIFs won't appear in the menu - this is likely a limitation of GTK

About

PyGTK application for easy Slack status switching via your notification area

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages