summaryrefslogtreecommitdiff
path: root/.wmii/rbar_clock
diff options
context:
space:
mode:
Diffstat (limited to '.wmii/rbar_clock')
-rwxr-xr-x.wmii/rbar_clock3
1 files changed, 1 insertions, 2 deletions
diff --git a/.wmii/rbar_clock b/.wmii/rbar_clock
index 8e7d2a4..86bf14d 100755
--- a/.wmii/rbar_clock
+++ b/.wmii/rbar_clock
@@ -3,8 +3,7 @@
priority=$1
-set -e
-while true; do
+while connected_to_x_server; do
date |a "$WMII_DIR/rbar/${priority}_clock"
sleep .5
done