summaryrefslogtreecommitdiff
path: root/.wmii-hg/rbar_clock
diff options
context:
space:
mode:
Diffstat (limited to '.wmii-hg/rbar_clock')
-rwxr-xr-x.wmii-hg/rbar_clock9
1 files changed, 9 insertions, 0 deletions
diff --git a/.wmii-hg/rbar_clock b/.wmii-hg/rbar_clock
new file mode 100755
index 0000000..6aecb92
--- /dev/null
+++ b/.wmii-hg/rbar_clock
@@ -0,0 +1,9 @@
+#!/bin/bash
+. include.sh
+
+priority=$1
+
+while connected_to_x_server; do
+ printf 'label %s\n' "$(date)" >> "$WMII_DIR/rbar/${priority}_clock"
+ sleep .5
+done