cfg/.config/i3blocks/time
Knut Ahlers 67a9408766
Adjust: Script renamed
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-08-11 21:27:58 +02:00

7 lines
169 B
Bash
Executable file

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