summaryrefslogtreecommitdiff
path: root/.wmii/rbar_clock
diff options
context:
space:
mode:
Diffstat (limited to '.wmii/rbar_clock')
-rwxr-xr-x.wmii/rbar_clock10
1 files changed, 10 insertions, 0 deletions
diff --git a/.wmii/rbar_clock b/.wmii/rbar_clock
new file mode 100755
index 0000000..8e7d2a4
--- /dev/null
+++ b/.wmii/rbar_clock
@@ -0,0 +1,10 @@
+#!/bin/bash
+. "$HOME/.wmii/include.sh"
+
+priority=$1
+
+set -e
+while true; do
+ date |a "$WMII_DIR/rbar/${priority}_clock"
+ sleep .5
+done