summary refs log tree commit diff
path: root/home/.local/bin/clock
blob: 4f5c8561bbdd74f62d0bfabb99696ace80387a2e (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh
set -eu

tput civis
while :; do
	printf '%3s%% %s' "$(apm -l)" "$(date +'%a %H:%M')"
	sleep 10
done