kbd://DevDeck
Officialproductivity

Slack: Toggle Away

Quickly toggle your Slack status between active and away.

Adds 1 command: 'Toggle Away' (in main deck)

Recipe TOML

[[commands]]
description = "Toggle Away"
action = "osascript -e 'tell application \"Slack\" to activate' -e 'delay 0.3' -e 'tell application \"System Events\" to keystroke \"/away\"' -e 'tell application \"System Events\" to key code 36'"
icon = "moon.fill"
type = "action"
context = "main"
main = true