Automatically sign out of Slack workspaces on macOS.
Project description
Overview
Slackoff is a quick way to sign out of a company Slack workspace at the end of the day to improve one's work-life balance. It can also be used to sign out of "fun" Slack workspaces to avoid distractions during normal working hours.
Setup
Requirements
- macOS (for AppleScript)
- Slack for Mac
- Python 3.10+
Installation
Install this tool globally with pipx (or pip):
$ pipx install slackoff
or add it to your Poetry project:
$ poetry add slackoff
Usage
After installation, automatically sign out of a Slack workspace:
$ slackoff My Company Workspace
or sign back in:
$ slackoff
Slackoff will remember the last workspace used and attempt to toggle appropriately.
Additional Options
To explicitly attempt to sign in or out, include the corresponding flag:
$ slackoff --signin
$ slackoff --signout
View the help for more options:
$ slackoff --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.