summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShipwreckt <conbur@protonmail.com>2024-01-23 22:53:59 +0000
committerShipwreckt <conbur@protonmail.com>2024-01-23 22:53:59 +0000
commitd680b345b135283099725617bb5d0b767b6e3f38 (patch)
tree3da46c70b11fcdb7338789d008189ab0f55fb24a
parentb73e52d23bc65f4e2598633afe352d4f574ab3da (diff)
Update 2 files
- /fakefetch.sh - /README.md
-rw-r--r--README.md9
-rw-r--r--fakefetch.sh37
2 files changed, 30 insertions, 16 deletions
diff --git a/README.md b/README.md
index c4ebcf9..b5cbc53 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,15 @@ Step 1: Clone the Repository
git clone https://gitlab.com/Shipwreckt/fakefetch
cd fakefetch
+you will also need a package called lsb-release
+
+sudo pacman -S lsb-release
+https://archlinux.org/packages/extra/any/lsb-release/
+
+sudo apt-get install lsb-release
+
+It might already be installed on your system so you can check with lsb_release -a
+
diff --git a/fakefetch.sh b/fakefetch.sh
index da46d69..aca32ab 100644
--- a/fakefetch.sh
+++ b/fakefetch.sh
@@ -39,6 +39,11 @@ USERNAME=$(whoami)
HOSTNAME=$(uname -n)
#This shows what Distro you are using, only one can be active
+
+#you will need a package called lsb-release
+#sudo pacman -S lsb-release
+#sudo apt-get install lsb-release
+
DISTRO=$(lsb_release -sd | sed 's/"//g')
#DISTRO=$(lsb_release -si)
@@ -67,26 +72,26 @@ TERMINAL="Alacritty"
#----------------------------------------------------------------------------------#
# Small Tux #
-#echo -e "${PURPLE} .--. ${USERNAME}@${HOSTNAME}${RESET}"
-#echo -e "${PURPLE} |o_o | ======================================================${RESET}"
-#echo -e "${PURPLE} |:_/ | OS → ${YELLOW}${DISTRO}${RESET}"
-#echo -e "${PURPLE} // \\ \ Cpu → ${YELLOW}${CPU_INFO} (${CORES})${RESET}"
-#echo -e "${PURPLE} (| | ) Gpu → ${YELLOW}${GPU_INFO}${RESET}"
-#echo -e "${PURPLE} /'\\_ _/ \ Term → ${YELLOW}${TERMINAL}${RESET}"
-#echo -e "${PURPLE} \\___)=(___/ ======================================================${RESET}"
+echo -e "${PURPLE} .--. ${USERNAME}@${HOSTNAME}${RESET}"
+echo -e "${PURPLE} |o_o | ======================================================${RESET}"
+echo -e "${PURPLE} |:_/ | OS → ${YELLOW}${DISTRO}${RESET}"
+echo -e "${PURPLE} // \\ \ Cpu → ${YELLOW}${CPU_INFO} (${CORES})${RESET}"
+echo -e "${PURPLE} (| | ) Gpu → ${YELLOW}${GPU_INFO}${RESET}"
+echo -e "${PURPLE} /'\\_ _/ \ Term → ${YELLOW}${TERMINAL}${RESET}"
+echo -e "${PURPLE} \\___)=(___/ ======================================================${RESET}"
#----------------------------------------------------------------------------------#
# cowsay #
-echo -e "${PURPLE} ________________________________________ "
-echo -e "${PURPLE} / \ ${USERNAME}@${HOSTNAME}${RESET}"
-echo -e "${PURPLE} \ / ======================================================${RESET}"
-echo -e "${PURPLE} ---------------------------------------- OS → ${YELLOW}${DISTRO}${RESET}"
-echo -e "${PURPLE} \ ^__^ Cpu → ${YELLOW}${CPU_INFO} (${CORES})${RESET}"
-echo -e "${PURPLE} \ (oo)\_______ Gpu → ${YELLOW}${GPU_INFO}${RESET}"
-echo -e "${PURPLE} (__)\ )\/\ Term → ${YELLOW}${TERMINAL}${RESET}"
-echo -e "${PURPLE} ||----w | ======================================================${RESET}"
-echo -e "${PURPLE} || || "
+#echo -e "${PURPLE} ________________________________________ "
+#echo -e "${PURPLE} / \ ${USERNAME}@${HOSTNAME}${RESET}"
+#echo -e "${PURPLE} \ / ======================================================${RESET}"
+#echo -e "${PURPLE} ---------------------------------------- OS → ${YELLOW}${DISTRO}${RESET}"
+#echo -e "${PURPLE} \ ^__^ Cpu → ${YELLOW}${CPU_INFO} (${CORES})${RESET}"
+#echo -e "${PURPLE} \ (oo)\_______ Gpu → ${YELLOW}${GPU_INFO}${RESET}"
+#echo -e "${PURPLE} (__)\ )\/\ Term → ${YELLOW}${TERMINAL}${RESET}"
+#echo -e "${PURPLE} ||----w | ======================================================${RESET}"
+#echo -e "${PURPLE} || || "
#----------------------------------------------------------------------------------#
# GNU #