Skip to content

wrtsprt/alfred-slack-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Alfred Slack workflow

Collection of two tools I like to have for using slack. Reimplemented using ruby b/c .. ruby.

Features:

  • sls away - setting presence away and turning on DnD in one command
  • sls active - setting presence active and turning off DnD in one command

Safely setting up credentials

You can generate a Slack legacy token here: https://api.slack.com/custom-integrations/legacy-tokens

Your credentials should be safely stored inside the OS X keychain. To do this open Keychain Access (open spotlight, type Keychain). Select the login keychain. Click the plus on the bottom to add an account.

Keychain item name: slack-af-legacy-token Account Name: doesntmatter Password:

Click Add.

Now open your terminal an call security find-generic-password -l slack-af-legacy-token -w once. This will attempt to retrieve your password from Keychain and will popup the permissions dialog. Pleaes select Always allow, for the workflow to be able to retrieve the credentails later on.

Releases

No releases published

Packages

No packages published