cfg/.config/i3blocks/time
Knut Ahlers ba151cf811
Update icons to fontawesome
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-12-23 16:01:32 +01:00

7 lines
171 B
Bash
Executable file

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