2018-12-02 23:43:08 +00:00
|
|
|
#!/bin/bash
|
2018-12-03 14:22:12 +00:00
|
|
|
set -euo pipefail
|
2018-12-02 23:43:08 +00:00
|
|
|
|
2018-12-03 10:02:09 +00:00
|
|
|
DIFF=$(${HOME}/bin/tmux-chrony-timediff)
|
|
|
|
[ -n "${DIFF}" ] && DIFF="(${DIFF})"
|
2018-12-02 23:43:08 +00:00
|
|
|
|
2018-12-06 10:51:38 +00:00
|
|
|
printf '\uf5ec %s %s' "$(date "+%a %Y-%m-%d %H:%M:%S")" "${DIFF}"
|