Dotfiles config update (2022-02-27)

This commit is contained in:
q3aql 2022-02-27 22:19:21 +01:00
parent 9e8b97d4ad
commit 27de7b7e2b
2 changed files with 65 additions and 0 deletions

23
scripts/bash-logo Normal file
View File

@ -0,0 +1,23 @@
#!/bin/bash
echo -e " "
echo -e "\e[31m :. .: \e[0m"
echo -e "\e[31m .=: :=. \e[0m"
echo -e "\e[31m -+ =- \e[0m"
echo -e "\e[31m :# *- \e[0m"
echo -e "\e[31m @= :@ \e[0m"
echo -e "\e[31m .@- :@:\e[0m"
echo -e "\e[31m @* *@.\e[0m"
echo -e "\e[31m #@* :=++: =@# \e[0m"
echo -e "\e[31m #@#: *@# .#@% \e[0m"
echo -e "\e[31m =%@%=: *@* :=%@@+ \e[0m"
echo -e "\e[31m -#@@@@@@@@@@@%+ \e[0m"
echo -e "\e[31m .=+%@@+=-. \e[0m"
echo -e "\e[31m *@# \e[0m"
echo -e "\e[31m +@* \e[0m"
echo -e "\e[31m :@: \e[0m"
echo -e "\e[31m % \e[0m"
echo -e "\e[31m \e[0m"
echo -e "\e[32m # Bienvenido al terminal de Q-Server\e[0m"
echo -e -n "\e[35m # Cargando el terminal / \e[0m"
echo ""

42
scripts/bash-logo-colors Normal file
View File

@ -0,0 +1,42 @@
#!/bin/bash
# Variables para mostrar
#os_system="Devuan 4"
os_system=$(lsb_release -d | tr -s " " | cut -d ":" -f 2)
os_system=$(echo ${os_system})
kernel=$(uname -r)
uptime=$(uptime | tr -s " " | cut -d "," -f 1)
uptime=$(echo ${uptime})
shell="bash 5.1.4" # Run bash --version
resolution=$(xrandr | grep "*" | head -1 | tr -s " " | cut -d " " -f 2)
user_loaded=$(whoami)
home_user="${HOME}"
cpu_model=$(lscpu | grep "Model name:" | tr -s " " | cut -d ":" -f 2)
cpu_model=$(echo ${cpu_model})
mem_total=$(lsmem | grep "Total online memory:" | tr -s " " | cut -d ":" -f 2)
mem_total=$(echo ${mem_total})
arch_system="${HOSTTYPE}"
hostname="${HOSTNAME}"
session_type="${XDG_SESSION_TYPE}"
echo -e " "
echo -e "\e[31m :. .: \e[0m"
echo -e "\e[31m .=: :=. \e[0m"
echo -e "\e[31m -+ =- \e[0m \e[33mOS: \e[0m\e[35m${os_system}\e[0m"
echo -e "\e[31m :# *- \e[0m \e[33mHost: \e[0m\e[35m${hostname}\e[0m"
echo -e "\e[31m @= :@ \e[0m \e[33mKernel: \e[0m\e[35m${kernel}\e[0m"
echo -e "\e[31m .@- :@:\e[0m \e[33mUptime: \e[0m\e[35m${uptime}\e[0m"
echo -e "\e[31m @* *@.\e[0m \e[33mShell: \e[0m\e[35m${shell}\e[0m"
echo -e "\e[31m #@* :=++: =@# \e[0m \e[33mResolution: \e[0m\e[35m${resolution}\e[0m"
echo -e "\e[31m #@#: *@# .#@% \e[0m \e[33mUser: \e[0m\e[35m${user_loaded}\e[0m"
echo -e "\e[31m =%@%=: *@* :=%@@+ \e[0m \e[33mHome: \e[0m\e[35m${home_user}\e[0m"
echo -e "\e[31m -#@@@@@@@@@@@%+ \e[0m \e[33mSession: \e[0m\e[35m${session_type}\e[0m"
echo -e "\e[31m .=+%@@+=-. \e[0m \e[33mArch: \e[0m\e[35m${arch_system}\e[0m"
echo -e "\e[31m *@# \e[0m \e[33mCPU: \e[0m\e[35m${cpu_model}\e[0m"
echo -e "\e[31m +@* \e[0m \e[33mMemory: \e[0m\e[35m${mem_total}\e[0m"
echo -e "\e[31m :@: \e[0m"
echo -e "\e[31m % \e[0m"
echo -e "\e[31m \e[0m"
echo -e "\e[32m # Bienvenido al terminal de ${user_loaded}\e[0m"
echo -e -n "\e[35m # Cargando el terminal / \e[0m"
echo ""