summaryrefslogtreecommitdiff
path: root/.config/wmii-hg/rbar_clock
diff options
context:
space:
mode:
Diffstat (limited to '.config/wmii-hg/rbar_clock')
-rwxr-xr-x.config/wmii-hg/rbar_clock9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/wmii-hg/rbar_clock b/.config/wmii-hg/rbar_clock
new file mode 100755
index 0000000..6aecb92
--- /dev/null
+++ b/.config/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