summaryrefslogtreecommitdiff
path: root/spprof
diff options
context:
space:
mode:
Diffstat (limited to 'spprof')
-rwxr-xr-xspprof7
1 files changed, 7 insertions, 0 deletions
diff --git a/spprof b/spprof
new file mode 100755
index 0000000..2adb41b
--- /dev/null
+++ b/spprof
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+COUNT="$(pgrep -U "$(whoami)" -f "$(basename $0)" | wc -l)"
+
+if [ "${COUNT:-0}" -lt "3" ]; then
+ exec foot -a "$(basename $0)" profanity
+fi