summary refs log tree commit diff
path: root/home/.local/bin/clock
blob: ef8cd6d8f8b3d14837a662c18c3651e641e217a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
set -eu

tput civis
sleep=$(( 60 - $(date +'%S' | sed 's/^0//') ))
while :; do
	if [ $(apm -a) -eq 1 ]; then
		printf '%3s%%' "$(apm -l)"
	else
		test $(apm -b) -eq 2 && tput setaf 1 bold
		printf '%3.3sm' "$(apm -m)"
		tput sgr0
	fi
	printf ' %s\r' "$(date +'%a %H:%M')"
	sleep $sleep
	sleep=60
done
the field name "pronouns". 2025-12-22Let -n prevent postingJune McEnroe 2025-12-22Dehtml pronoun fieldsJune McEnroe I forgot I wrote that... 2025-12-10Add Rose/HouseJune McEnroe Ends as all novelas do. 2025-11-19Bilingualize pronouns regexJune McEnroe 2025-11-19Hardcode a follower IDJune McEnroe 2025-11-18Add pronouns bot scriptJune McEnroe 2025-08-27Update DESCRIPTION of myselfJune McEnroe 2025-08-18Publish "time"June McEnroe 2025-08-18Add a bunch of film roll metadataJune McEnroe I'm not sure why I even do this. 2025-08-18Add a draftJune McEnroe