cfg/.config/i3blocks/time
Knut Ahlers 8a92a90d08
Improve symbol
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-12-11 17:16:58 +01:00

7 lines
176 B
Bash
Executable file

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