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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: slackoff-1.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Darwin/23.2.0

File hashes

Hashes for slackoff-1.1.tar.gz
Algorithm Hash digest
SHA256 f361d34271f34c97e490306be8048e8a56733ac1d9346b6311d0d447710861bf
MD5 0484c5c3b0789463cc6c06bfecd76aff
BLAKE2b-256 b7913e4a7972907fd7ffeac855ac31cf3d5760633bb6b10b41b04caf52026842

See more details on using hashes here.

File details

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

File metadata

  • Download URL: slackoff-1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Darwin/23.2.0

File hashes

Hashes for slackoff-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 be68edfbf0e381eaca12c15da6b2369333374f1fc448f275bfcbae65b588320d
MD5 f2de94537fd388f43fa36a6a93b3a538
BLAKE2b-256 505e5f6a92c2192bb1e3eb4911f22ca070761e8675c9d82d33c02f357ab2aad6

See more details on using hashes here.

Supported by

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