rwxrob-dot/scripts/back
2023-06-30 21:05:55 -04:00

11 lines
256 B
Bash
Executable File

#!/usr/bin/env bash
what="$*"
if [[ -z "${what}" ]]; then
what="in a bit"
elif [[ $what =~ ^([0-9]+) ]]; then
what="at $(date -d "${BASH_REMATCH[1]} minutes" +%H:%M)"
fi
echo "$what" >~/.break
exec bannerfish "back $what"
#exec bannerlights "back $what"