Single command that sets slack status and notifications, adds calendar entry for time tracking, enables Focus mode for OSX.
- Copy .focus_env.default to .focus_env (SLACK_USER_TOKEN variable setting will come from step 2). Set your google calendar name (e.g. "youremail@gmail.com").
- Set up the deno app according to slack-status/README.md.
- Set up gcalcli according to their project docs.
- Symlink focus.sh to something in your path, e.g. to
~/bin/focus
. - Using the shortcuts.app in OSX, create a "Focus On" and "Focus Off" shortcut that does just that (turns on or off Focus mode).
Run focus <minutes> <title>
to
- Create a calendar event for the alloted time.
- Set slack status to "focus" and turn off notifications.
- Enable "Focus" mode in OSX. N.B. CTRL-C will cancel the focus window and adjust the calendar event time correctly.