Open jonwalstedt opened 5 years ago
There isn't, but you could watch the active mobsters file for changes.
Here's an example script that uses the file with the list of active mobsters for the git authors:
https://github.com/dillonkearns/mobster/blob/master/mobster-commit.sh
For example, you could do this using a tool like fswatch
. The active mobsters file is updated every time there is a rotation. If I'm remembering correctly, the name in the front of the list is the driver.
Is there a way to run a custom shell script when the active mobster change?