From 25ef246b7a20509040cc1b4b88efde3a9bc96cd5 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 3 Oct 2023 22:44:29 +0200 Subject: eww: Remove leading 0’s from date MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/eww/scripts/datetime-listener | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/eww/scripts/datetime-listener b/.config/eww/scripts/datetime-listener index c21dd02..14453d9 100755 --- a/.config/eww/scripts/datetime-listener +++ b/.config/eww/scripts/datetime-listener @@ -2,6 +2,6 @@ while : do - date +'pretty=%d %B %Y (%A) — %T %Z%nmonth=%m' | jo + date +'pretty=%-d %B %Y (%A) — %T %Z%nmonth=%m' | jo date +%s.%N | dc -e "? d 1 + 1 / r - p" | xargs sleep done -- cgit v1.2.3