Created
May 8, 2020 16:37
-
-
Save HikariKnight/c9f1c69bcd6c2a46f2640b699c4f55fe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Dependency: termdown | |
# pip3 install termdown | |
# I recommend to install termdown inside a python3 venv that you have in your $PATH instead of on your system python | |
if [[ $@ == "" ]] | |
then | |
termdown -f roman -T "Be Right Back" 5 && termdown -f roman -T 'Chris is LATE !' | |
elif ! [ $1 -eq $1 ] 2>/dev/null | |
then | |
echo $1 is not an INTEGER to use as minutes | |
else | |
termdown -f roman -T "Be Right Back" $(expr $1 \* 60) && termdown -f roman -T 'Chris is LATE !' | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment