This tiny app allows to set Slack status to pre-defined values from a command line, for multiple accounts at once:
slack_status lunch
This will set yourself away for an hour, with an hamburger emoji and "Lunch" status text.
- Copy
settings.toml.example
to~/.slack_status.toml
and 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_status
andsettings.toml
somewhere convenient. - Run it!
I created this as a weekend exercise while learning Rust. Treat it as a homework-quality code.