summaryrefslogtreecommitdiffstats
path: root/dzen2_all.sh
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-07-08 04:00:15 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2012-07-08 04:00:45 +0200
commit3c6cf7ee3eb1cd768072b21c569a69428bf3ce4c (patch)
tree44309ce9656e4c8a157c7ce6d4c5af7fd7903ce7 /dzen2_all.sh
downloaddzen2-config-3c6cf7ee3eb1cd768072b21c569a69428bf3ce4c.tar.gz
dzen2-config-3c6cf7ee3eb1cd768072b21c569a69428bf3ce4c.tar.xz
dzen2-config-3c6cf7ee3eb1cd768072b21c569a69428bf3ce4c.zip
inital commit
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