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