Skip to main content

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.

Build Status Coverage Status Scrutinizer Code Quality PyPI License PyPI Version PyPI Downloads

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slackoff-0.1.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

slackoff-0.1-py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page