Updates your Slack status depending on the SSID of the Wifi network you are connected
- Run
clone https://github.com/devartis/slack-status.git && cd slack-status
- Create an access token at https://api.slack.com/custom-integrations/legacy-tokens for your workspace (i.e devartis).
- Create a file named
slack-token.config
with the generated token in it and save it at the root of the repository. This file should have just one line with the token. - Run
mv slack-token.config ~/.slack-token.config
in order to hidde this file, and to be used by the script. - Run
sudo cp slack.sh /etc/network/if-up.d/slack
. - Enjoy the automatic slack status changing!