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

while :
do
	date +'pretty=%d %B %Y (%A) — %T %Z%nmonth=%m' | jo
	date +%s.%N | dc -e "? d 1 + 1 / r - p" | xargs sleep
done