summaryrefslogtreecommitdiff
path: root/.config/wmii-hg/rbar_clock
blob: 6aecb920748aad7b4aabfae9515ffd153aa7e22b (plain)
1
2
3
4
5
6
7
8
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