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-1.2.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

slackoff-1.2-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file slackoff-1.2.tar.gz.

File metadata

  • Download URL: slackoff-1.2.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.8 Darwin/23.4.0

File hashes

Hashes for slackoff-1.2.tar.gz
Algorithm Hash digest
SHA256 ec200432830603d97de0aa87fd7d27d17fd580df4621cbf4867d19fdfb037b6d
MD5 7122461b9ba19b6b556703415c43569b
BLAKE2b-256 f6c9b949877c1d988c1edf816608ae0bd2100a093e564cec6659eaea01e461e5

See more details on using hashes here.

File details

Details for the file slackoff-1.2-py3-none-any.whl.

File metadata

  • Download URL: slackoff-1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.8 Darwin/23.4.0

File hashes

Hashes for slackoff-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b831f727e4844ffba4d607759ea470830bdd193e77cb640487c12f60ed9278d5
MD5 6543d32fe2d477d4ea34566e539787c3
BLAKE2b-256 d087a4eb1840ca380e9c0f1c8caebc8e5fd53058ef363b5db340ac2d89a587bf

See more details on using hashes here.

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