aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--watch.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/watch.sh b/watch.sh
new file mode 100644
index 0000000..bba7d4b
--- /dev/null
+++ b/watch.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env sh
+
+set -xeuo pipefail
+
+find -type 'f' -name '*.[ch]' | entr -s "make && sudo make install && killall dwm"