cfg/.config/i3blocks/datetime
Knut Ahlers d90ba66a2a
Fix: Add missing newline
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-08-14 19:59:49 +02:00

7 lines
180 B
Bash
Executable file

#!/bin/bash
#set -euo pipefail
DIFF=$(${HOME}/bin/tmux-timediff)
[ -n "${DIFF}" ] && DIFF="(${DIFF})" || true
printf '\uf017 %s %s\n' "$(date "+%a %Y-%m-%d %H:%M:%S")" "${DIFF}"