diff --git a/README.md b/README.md index 3a1f32b..e1ea9fc 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,8 @@ if [ "$POMO_STATE" == "COMPLETE" ] ; then fi ``` +See the `contrib` directory for user contributed scripts for use with `onEvent`. + ## Integrations By default pomo will setup a Unix socket and serve it's status there. diff --git a/contrib/.gitkeep b/contrib/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/contrib/bell b/contrib/bell new file mode 100755 index 0000000..b4c6e8f --- /dev/null +++ b/contrib/bell @@ -0,0 +1,3 @@ +#!/bin/sh + +echo -e '\e' diff --git a/contrib/pomonag b/contrib/pomonag new file mode 100755 index 0000000..4259c6e --- /dev/null +++ b/contrib/pomonag @@ -0,0 +1,5 @@ +#!/bin/sh + +if [ "$POMO_STATE" == "BREAKING" ] ; then + swaynag -m "It's time to take a break!" +fi