This tiny app allows to set Slack status to pre-defined values from a command line, for multiple accounts at once:
slack_status lunchThis will set yourself away for an hour, with an hamburger emoji and "Lunch" status text.
- Copy
settings.toml.exampleto~/.slack_status.tomland edit it to your liking. - Have rust installed.
- Compile this application:
cargo build --release - Sign the binary to prevent constant access prompts: it accesses your Keychain to decrypt Chrome cookies:
codesign -s developer target/release/slack_status - Copy
./target/release/slack_statusandsettings.tomlsomewhere convenient. - Run it!
I created this as a weekend exercise while learning Rust. Treat it as a homework-quality code.