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