commit a78735433f220e61b6665a6c7daa8d5813f7002f
parent 205971bdfc454ca759714aac29c8ffc9031bae08
Author: hhvn <dev@hhvn.uk>
Date: Sat, 4 Dec 2021 13:20:53 +0000
.s/d/time: use shorter day name
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.scripts/dwmblocks/time b/.scripts/dwmblocks/time
@@ -6,7 +6,7 @@ echo $(curl wttr.in/?format=%S) > $HOME/.cache/wttrS
echo $(curl wttr.in/?format=%s) > $HOME/.cache/wttrs
echo $(curl wttr.in/?format=%C) > $HOME/.cache/wttrC
-day=$(date +%A | tr '[:lower:]' '[:upper:]')
+day=$(date +%a | tr '[:lower:]' '[:upper:]')
[ $(date +%u) -eq 6 ] || [ $(date +%u) -eq 7] && col="^c#007700^" || col="^c#888888^"
month=$(date +%m)