https://github.com/maxmellon/slack-user-status-trigger
https://github.com/maxmellon/slack-user-status-trigger
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/maxmellon/slack-user-status-trigger
- Owner: MaxMEllon
- License: mit
- Created: 2017-04-14T08:42:50.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-16T06:11:04.000Z (about 9 years ago)
- Last Synced: 2025-02-13T17:15:12.389Z (over 1 year ago)
- Language: Shell
- Size: 13.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# slack-user-status-trigger
Demo
---

Usage
---
```
$ work start
$ work stop
```
Installation
---
- install with [zplug](https://github.com/zplug/zplug):
```bash
zplug 'maxmellon/slack-user-status-trigger', \
use:'(*.sh)', \
rename-to:'$1'
```
- manual install
```bash
$ git clone git@github.com:MaxMEllon/slack-user-status-trigger.git /path/to/slack-user-status-trigger
$ source /path/to/slack-user-status-trigger/work-reporter.sh
```
Configurations
---
If you use `bash`, all you need is adding below line to your `~/.bashrc` or `~/.bash_profile`
```bash
export SLACK_API_TOKEN="xoxp-00000000000-00000000000-000000000000-0123456789abcdefghijklmnopqrstuv"
export SLACK_START_STATUS_TEXT="お仕事なう"
export SLACK_START_EMOJI=":muscle:"
export SLACK_END_STATUS_TEXT="おやすみ"
export SLACK_END_EMOJI=":zzz:"
```
LICENSE
---
- [MIT](./LICENSE.txt)
`(c)` Kento TSUJ (a.k.a. MaxMEllon)