7 lines
180 B
Bash
Executable file
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}"
|