]>
git.scottworley.com Git - keystroke-timestamps/blob - gaps.sh
2d28af92a2cc6ba22d5fbb41325a2c28d546b8b0
4 LOGFILE
="${2:-$HOME/keystroke-timestamps.log}"
6 awk -vthreshold="$threshold" -vtime_fmt="%F %T" '
8 if (prev && $1 - prev > threshold) {
9 print(strftime(time_fmt, prev), "to", strftime(time_fmt, $1), "was", $1 - prev)