aboutsummaryrefslogtreecommitdiff
path: root/nofetch
diff options
context:
space:
mode:
authorjnats <dev@jnats.xyz>2021-04-24 00:00:27 +0100
committerGitHub <noreply@github.com>2021-04-24 00:00:27 +0100
commit78b57d855b94758d3a19f9737719d44cadce00e2 (patch)
tree6b1cce7071f9597b6b3de3c2388388fba4f5a4f5 /nofetch
parenta9caf4bbd04ec31d113af5cd2e46c7fd21ed95ce (diff)
downloadnofetch-78b57d855b94758d3a19f9737719d44cadce00e2.tar.gz
nofetch-78b57d855b94758d3a19f9737719d44cadce00e2.tar.bz2
new nofetch just dropped wooo
Diffstat (limited to 'nofetch')
-rw-r--r--nofetch47
1 files changed, 41 insertions, 6 deletions
diff --git a/nofetch b/nofetch
index 8d9bac2..887fc28 100644
--- a/nofetch
+++ b/nofetch
@@ -1,9 +1,44 @@
-#!/bin/sh
+#!/bin/bash
+
+rng=$((1 + $RANDOM % 10 ))
+
+if [ $rng -eq 1 ]
+then
+ nofetch="probably a computer"
+elif [ $rng -eq 2 ]
+then
+ nofetch="there's probably some ram in there"
+elif [ $rng -eq 3 ]
+then
+ nofetch="init should ideally be running"
+elif [ $rng -eq 4 ]
+then
+ nofetch="yeah"
+elif [ $rng -eq 5 ]
+then
+ nofetch="you should probably go outside"
+elif [ $rng -eq 6 ]
+then
+ nofetch="i would be lead to believe that / is mounted"
+elif [ $rng -eq 7 ]
+then
+ nofetch="hey, what's this knob do ?"
+elif [ $rng -eq 8 ]
+then
+ nofetch="do you have games on your phone ?"
+elif [ $rng -eq 9 ]
+then
+ nofetch="you mean to tell me there aren't little men in this box?"
+elif [ $rng -eq 10 ]
+then
+ nofetch="plan 4 from the front door"
+else
+ nofetch="something has gone terribly wrong"
+fi
+
+osname=$(cat /etc/os-release | grep NAME= | head -1 | sed "s/NAME=//g")
echo " "
-echo "+------------------------+"
-echo "| |"
-echo "| probably a computer |"
-echo "| |"
-echo "+------------------------+"
+echo " > $nofetch "
+echo " > $osname $(uname -sir)"
echo " "