Print day of week in time block

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-12-06 11:51:38 +01:00
parent a0d09f6aca
commit e5aaaaa8b9
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -4,4 +4,4 @@ set -euo pipefail
DIFF=$(${HOME}/bin/tmux-chrony-timediff) DIFF=$(${HOME}/bin/tmux-chrony-timediff)
[ -n "${DIFF}" ] && DIFF="(${DIFF})" [ -n "${DIFF}" ] && DIFF="(${DIFF})"
printf '\uf5ec %s %s' "$(date "+%Y-%m-%d %H:%M:%S")" "${DIFF}" printf '\uf5ec %s %s' "$(date "+%a %Y-%m-%d %H:%M:%S")" "${DIFF}"