aboutsummaryrefslogtreecommitdiff
path: root/local/bin/annoyme
diff options
context:
space:
mode:
Diffstat (limited to 'local/bin/annoyme')
-rwxr-xr-xlocal/bin/annoyme17
1 files changed, 0 insertions, 17 deletions
diff --git a/local/bin/annoyme b/local/bin/annoyme
deleted file mode 100755
index 92a42d4..0000000
--- a/local/bin/annoyme
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-DOT_ANNOYME=~/.annoyme
-
-for NAME in `ls "$DOT_ANNOYME" | grep -E '.pid$' | sed 's/\.pid$//'`; do
- echo -e "\033[0;31m$NAME:\033[0m" `cat "$DOT_ANNOYME/$NAME.desc"`
- echo -ne "\033[0;1m Y/n: \033[0;0m"
- read
- if [[ $REPLY =~ ^[Yy]?$ ]]; then
- if $DOT_ANNOYME/$NAME.script > "$DOT_ANNOYME/$NAME.out"; then
- kill -SIGUSR1 `cat "$DOT_ANNOYME/$NAME.pid"`
- else
- kill -SIGUSR2 `cat "$DOT_ANNOYME/$NAME.pid"`
- fi
- fi
- echo
-done