mirror of https://github.com/rwxrob/dot
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
228 B
Plaintext
10 lines
228 B
Plaintext
3 years ago
|
#!/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" +%-I:%M)"
|
||
|
fi
|
||
|
echo "$what" > ~/.break
|
||
|
exec bannerfish "back $what"
|