summaryrefslogtreecommitdiff
path: root/.config/eww/scripts/datetime-listener
blob: 53bcf9e714cdd9c34d576e4d055c0bda75b8628a (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh

while :
do
	date +"pretty='%A, %-d of %B %Y — %T %Z' month='%m'" \
	| ordinal -p1 \
	| xargs jo
	date +%s.%N | dc -e "? d 1 + 1 / r - p" | xargs sleep
done