Author: Sam Boysel [sboysel@gmail.com]
Hash: f86c5a643671acbff51592fbb593933d7de02447
Timestamp: Wed, 01 Jun 2022 01:10:10 +0000 (2 years ago)

+10 -0 +/-4 browse
adds contrib dir for user contributed scripts
1diff --git a/README.md b/README.md
2index 3a1f32b..e1ea9fc 100644
3--- a/README.md
4+++ b/README.md
5 @@ -90,6 +90,8 @@ if [ "$POMO_STATE" == "COMPLETE" ] ; then
6 fi
7 ```
8
9+ See the `contrib` directory for user contributed scripts for use with `onEvent`.
10+
11 ## Integrations
12
13 By default pomo will setup a Unix socket and serve it's status there.
14 diff --git a/contrib/.gitkeep b/contrib/.gitkeep
15new file mode 100644
16index 0000000..e69de29
17--- /dev/null
18+++ b/contrib/.gitkeep
19 diff --git a/contrib/bell b/contrib/bell
20new file mode 100755
21index 0000000..b4c6e8f
22--- /dev/null
23+++ b/contrib/bell
24 @@ -0,0 +1,3 @@
25+ #!/bin/sh
26+
27+ echo -e '\e'
28 diff --git a/contrib/pomonag b/contrib/pomonag
29new file mode 100755
30index 0000000..4259c6e
31--- /dev/null
32+++ b/contrib/pomonag
33 @@ -0,0 +1,5 @@
34+ #!/bin/sh
35+
36+ if [ "$POMO_STATE" == "BREAKING" ] ; then
37+ swaynag -m "It's time to take a break!"
38+ fi