dotconf/bin/beat
2022-02-01 10:16:08 -07:00

5 lines
83 B
Bash
Executable File

#!/bin/sh
b=$(echo "(($(date +'%s')+3600)%86400)/86.4" | bc)
printf "%03d" "${b}"