summaryrefslogtreecommitdiff
path: root/.config/wmii-hg/rbar
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-01-29 00:48:11 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-01-29 00:48:11 -0500
commita9935b7a12a522937d91cb44a0e138132b555e16 (patch)
tree379c9846d85a43c8fdeefcf268e3ea0e10891758 /.config/wmii-hg/rbar
parent435a7b5e8e590240340232cc1832ead32b87adc6 (diff)
Re-jigger to use systemd for the process monitor for the window manager
Diffstat (limited to '.config/wmii-hg/rbar')
-rwxr-xr-x.config/wmii-hg/rbar9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/wmii-hg/rbar b/.config/wmii-hg/rbar
new file mode 100755
index 0000000..9aaa485
--- /dev/null
+++ b/.config/wmii-hg/rbar
@@ -0,0 +1,9 @@
+#!/bin/bash
+IFS=:
+read -r name prefix DISPLAY <<<"$1"
+export DISPLAY
+
+id=$1
+name=${id#[0-9][0-9]_}
+
+exec "$0"_"$name" "${id}"