summaryrefslogtreecommitdiff
path: root/.config/wmii-hg/rbar
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-01-29 12:13:43 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-01-29 12:13:43 -0500
commitcbd6ae1cc7374e9c825642751bfa146c7cc0a5a8 (patch)
tree4deb4424b115b3215bc696ac467149368b97d79d /.config/wmii-hg/rbar
parentaf7fca016ab0e83c129147f8102dc8ee893571a8 (diff)
parenta19e716cf26fa4a67fe676d0822c96425d528903 (diff)
Merge branch 'gluglugt60-par'
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}"