Skip to content

This project is a status bar application made for Mac OS X to automatically update a Slack user's presence status based on introspecting the calendars, WiFi, and other data.

License

Notifications You must be signed in to change notification settings

ericwb/slack-status-bar

Repository files navigation

Slack Status Bar

https://travis-ci.org/ericwb/slack-status-bar.svg?branch=master

screenshot.png

Overview

The native Slack application has the capability to manually adjust a user's status, but does nothing automatically. The manual nature of switching your status based on where or what you're doing is tedious. This app attempts to ease that pain point by automatically adjusting status based on factors it can discern.

This status bar automatically (or manually) updates a user's Slack status based on information from the user's calendars and Wireless SSID in use. It only works on Mac OS X and is only effective for users that use Mac's default calendar application and wireless for networking.

Currently the app can detect 4 types of statuses

  • Vacationing - scans the vacation calendar for events for the current time
  • In a Meeting - scans the work calendar for events for the current time
  • Working Remotely - compares the SSID currently in use with the given work SSID
  • Away - detects the lock state of the screen and sets away if locked

Installation

pip install -r requirements.txt

Run the following command to build the application into alias mode.

python setup.py py2app -A

Configure settings

  • Edit ~/Library/Application Support/Slack Status/config.yaml
  • Enter the token for your Slack user
  • Enter your work wireless SSID
  • Enter names for your work and vacation calendars
  • Optionally you may want to edit some of the other settings

To run in application mode

Run the following to start the application

open dist/Slack\ Status.app

To run in developer mode

Running from the command line

python main.py

About

This project is a status bar application made for Mac OS X to automatically update a Slack user's presence status based on introspecting the calendars, WiFi, and other data.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages