#!/bin/bash # __ _ __ _ _ # / _| | | / _| | | | | # | |_ __ _| | _____| |_ ___| |_ ___| |__ # | _/ _` | |/ / _ \ _/ _ \ __/ __| '_ \ # | || (_| | < __/ || __/ || (__| | | | # |_| \__,_|_|\_\___|_| \___|\__\___|_| |_| #----------------------------------------------------------------------------------# # Welcome to fakefetch # #----------------------------------------------------------------------------------# # This is just neofetch but # # You do it yourself ! # #----------------------------------------------------------------------------------# # This is Free and open sourse software, you can do whatever you want with it # #----------------------------------------------------------------------------------# # Colours # #----------------------------------------------------------------------------------# # The colour you want to set is probaby not listed so you will need to define it # yourself I've left comments on how to do this. #Help with colours https://www.ditig.com/publications/256-colors-cheat-sheet PURPLE='\033[38;5;92m' #replace the 92 with whatever colour you want YELLOW='\033[38;5;98m' RESET='\033[0m' #----------------------------------------------------------------------------------# # Variables # #----------------------------------------------------------------------------------# #This sets what user you are currently USERNAME=$(whoami) #This sets your host name 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) #What cpu CPU_INFO=$(lscpu | grep 'Model name' | awk '{$1=$2=""; print $0}' | sed 's/^[ \t]*//') CORES=$(lscpu | grep 'Core(s) per socket' | awk '{print $NF}') #What Gpu you are using get_gpu_info() { local gpu_info gpu_info=$(lspci | grep -i 'VGA\|3D' | sed 's/.*: //; s/ (.*//') echo "$gpu_info" } GPU_INFO=$(get_gpu_info) #You do need to set this manually TERMINAL="Alacritty" #----------------------------------------------------------------------------------# # Art # #----------------------------------------------------------------------------------# #You can add your own here if you want too, choose whatever one you want by # # commenting out the art you do not want. # # I have stole some ascii art for this so credit to cowsay # #----------------------------------------------------------------------------------# # 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}" #----------------------------------------------------------------------------------# # 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} || || " #----------------------------------------------------------------------------------# # GNU # #echo -e "${PURPLE} = ÷÷÷÷÷÷÷ × ÷÷÷÷÷ " #echo -e "${PURPLE} ÷÷÷ ÷÷÷÷÷÷÷÷÷ ÷÷÷÷÷×÷÷÷ ÷÷ " #echo -e "${PURPLE} ÷÷ ÷ ÷ ÷ " #echo -e "${PURPLE} ÷÷π ÷ ∞÷÷÷÷ ÷ ÷÷÷ ÷ ÷÷ " #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} ÷÷÷ ÷÷÷÷÷÷÷÷÷÷÷ ÷ ÷÷÷÷÷÷÷ ÷ ÷÷÷÷÷÷ ÷÷÷÷ Gpu → ${YELLOW}${GPU_INFO}${RESET}" #echo -e "${PURPLE} ÷ ÷÷÷÷÷÷÷÷ ÷÷÷×÷÷÷÷÷÷÷÷÷÷÷÷ ÷÷÷÷÷÷ Term → ${YELLOW}${TERMINAL}${RESET}" #echo -e "${PURPLE} ÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷ ÷ ÷÷÷= ======================================================${RESET}" #echo -e "${PURPLE} ÷÷÷÷÷÷= ÷÷÷÷÷÷÷÷÷÷ ÷÷÷÷ ÷÷÷÷÷≠ " #echo -e "${PURPLE} ÷÷÷ ÷÷÷÷÷÷ ÷÷÷÷÷ ∞π÷÷÷÷÷÷÷÷ " #echo -e "${PURPLE} ÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷ " #echo -e "${PURPLE} ÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷ " #echo -e "${PURPLE} ÷÷÷÷÷÷÷÷ ÷÷÷÷÷ " #echo -e "${PURPLE} ×÷÷÷÷÷÷÷÷÷÷÷÷÷×÷÷ " #echo -e "${PURPLE} ÷÷÷÷÷÷÷ ÷ " #echo -e "${PURPLE} × ≠ ∞ ÷÷÷÷÷÷÷÷ " #echo -e "${PURPLE} = ÷÷÷÷÷÷÷π " #echo -e "${PURPLE} × ÷ " #echo -e "${PURPLE} = × √ " #----------------------------------------------------------------------------------# # Arch Linux # echo -e "${PURPLE} && " echo -e "${PURPLE} &&&& " echo -e "${PURPLE} &&&&&& " echo -e "${PURPLE} &&&&&&& " echo -e "${PURPLE} &&&&&&&& " 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} &&&&&&&&&&&&&&&&&&&&&& Gpu → ${YELLOW}${GPU_INFO}${RESET}" echo -e "${PURPLE} &&&&&&&&&&&&&&&&&&&&&&& Term → ${YELLOW}${TERMINAL}${RESET}" echo -e "${PURPLE} &&&&&&&&&& &&&&&&&&&&& ======================================================${RESET}" echo -e "${PURPLE} &&&&&&&&& &&&&&&&&&& " echo -e "${PURPLE} &&&&&&&&&& &&&&&&&&&& " echo -e "${PURPLE} &&&&&&&&&& &&&&&&&&&&& " echo -e "${PURPLE} &&&&&&&&&&& &&&&&&&&& & " echo -e "${PURPLE} &&&&&&&&&&&& &&&&&&&&&&&& " echo -e "${PURPLE} &&&&&&&&&& &&&&&&&&&&& " echo -e "${PURPLE} &&&&&& &&&&&&& " echo -e "${PURPLE} &&&& &&&& " echo -e "${PURPLE} & && "