summaryrefslogtreecommitdiffstats
path: root/dzen2_all.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dzen2_all.sh')
-rwxr-xr-xdzen2_all.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/dzen2_all.sh b/dzen2_all.sh
new file mode 100755
index 0000000..8e96722
--- /dev/null
+++ b/dzen2_all.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# Wrapper to start dzen2 processes in new a process group.
+# With this, it is easier to kill all processes.
+
+while true; do
+ setsid /bin/sh ${HOME}/.dzen2/bin/dzen2_pgrp.sh $@
+ wait $!
+done