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 PyPipython3-gi
from Ubuntu (apt-get install python3-gi
)
Usage
- Clone this repository
- Create a new Slack app
- Add the
emoji:read
andusers.profile:write
scopes - Jot down the OAuth token for the next step
- Add the
- Copy
config.json.example
toconfig.json
and edit the following:- Change
slack_token
to contain your OAuth token - Add/edit/remove the
statuses
to suit your needs. Thetext
andemoji
keys must be present;text
can be an empty string.
- Change
- 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