summaryrefslogtreecommitdiff
path: root/.config/eww/scripts/datetime-listener
blob: 14453d903b2596f3d3e20de60dfae891f9cb8436 (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