summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-10-03 22:44:29 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-10-03 22:44:29 +0200
commit25ef246b7a20509040cc1b4b88efde3a9bc96cd5 (patch)
treee2da5ada04e4d8ab7fcaf6a3280960dc521cddbb /.config
parent88733d74ab056b1a8b0e5999e5b51a07fe39b12c (diff)
eww: Remove leading 0’s from date
Diffstat (limited to '.config')
-rwxr-xr-x.config/eww/scripts/datetime-listener2
1 files changed, 1 insertions, 1 deletions
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