aboutsummaryrefslogtreecommitdiff
path: root/nofetch
diff options
context:
space:
mode:
authorjnats <dev@jnats.xyz>2021-05-01 20:55:18 +0100
committerjnats <dev@jnats.xyz>2021-05-01 20:55:18 +0100
commit1c9db1aaf434d29ee7c6ce293f07cae85afa72a4 (patch)
treedabf08eb0953384d35e99c0431dc9998952ddb3c /nofetch
parent61ab4279accddc97c21c87a515f25edfd75ec0e7 (diff)
downloadnofetch-1c9db1aaf434d29ee7c6ce293f07cae85afa72a4.tar.gz
nofetch-1c9db1aaf434d29ee7c6ce293f07cae85afa72a4.tar.bz2
added new quip
Diffstat (limited to '')
-rwxr-xr-xnofetch9
1 files changed, 6 insertions, 3 deletions
diff --git a/nofetch b/nofetch
index d383fa5..cf3816f 100755
--- a/nofetch
+++ b/nofetch
@@ -2,13 +2,13 @@
if [[ $1 == "" ]];
then
- rng=$((1 + $RANDOM % 11 ))
+ rng=$((1 + $RANDOM % 12 ))
else
- if [[ $1 -lt 12 ]];
+ if [[ $1 -lt 13 ]];
then
rng=$1
else
- rng=$((1 + $RANDOM % 11 ))
+ rng=$((1 + $RANDOM % 12 ))
fi
fi
@@ -56,6 +56,9 @@ then
elif [ $rng -eq 11 ]
then
nofetch="i use "$osname" btw"
+elif [ $rng -eq 12 ]
+then
+ nofetch="if you're reading this, it's already too late"
else
nofetch="something has gone terribly wrong"
fi