summaryrefslogtreecommitdiff
path: root/.config/wmii-hg/rbar_clock
blob: c66b21ee1d9a971029964b2fa7694bf290bc2e01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash

update() {
	id=$1
	setup_trap "$id"

	while true; do
		{
			printf 'label '
			date +'%a %F %T %Z(%:::z)'
		} | write "$id"
		sleep .5
	done
}

. "$(dirname "$0")/rbar.sh"