scripts/login.sh
#!/bin/bash

os=`cat /etc/fedora-release | awk '{printf "%s %s", $1, $3}'`
rootUsed=`df -h --output=used / | tail -n1 | tr -d ' \n'`
rootTotal=`df -h --output=size / | tail -n1 | tr -d ' \n'`
memUsed=`free -m | grep "Mem" | awk '{printf "%.1fG", $3/1000}'`
memTotal=`free -m | grep "Mem" | awk '{printf "%.fG", $2/1000}'`
cpuTemp=`sensors | grep CPU | awk '{print $2}' | sed 's/+//' | tr -d '\n'`
loadAvg=`cat /proc/loadavg | awk '{printf "%s %s %s", $1, $2, $3}'`

printf "
     ⣷⣝⢿⣷⣄      $os
  ⠲⣶⣶⡿⠟ ⠙⢿⣷⣄   $rootUsed/$rootTotal   $memUsed/$memTotal   $cpuTemp  辰$loadAvg

" | lolcat --truecolor --seed=22 --spread=6
exit

printf "
        ⢸⣦⡈⠻⣿⣿⣿⣶⣄          ⣸ ⣯ ⣫ ⣫  ⣵ ⣟ ⣏ ⣿ ⣯ ⣟
        ⢸⣿⣿⣦⡈⠻⣿⣿⣿⣷⣄
  ⣀⣀⣀⣀⣀⣀⣼⣿⣿⣿⣿ ⠈⠻⣿⣿⣿⣷⣄        $os
  ⠈⠻⣿⣿⣿⣿⣿⡿⠿⠛⠁   ⠈⠻⢿⣿⣿⣷⣄     $rootUsed/$rootTotal   $memUsed/$memTotal   $cpuTemp  辰$loadAvg

" | lolcat --truecolor --seed=22 --spread=6


#            ⢸⣦⡈⠻⣿⣿⣿⣿⣿⣿⣷⣦⡀
#            ⢸⣿⣿⣦⡈⠻⣿⣿⣿⣿⣿⣿⣿⣦⡀
#            ⢸⣿⣿⣿⣿⣦⡈⠻⣿⣿⣿⣿⣿⣿⣿⣦⡀
#            ⢸⣿⣿⣿⣿⣿⣿⣦⠈⠻⣿⣿⣿⣿⣿⣿⣿⣦⡀
#         ⢀⣀⣴⣿⣿⣿⣿⣿⣿⣿⡿  ⠈⠻⣿⣿⣿⣿⣿⣿⣿⣦⡀
# ⠈⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⠁    ⠈⠻⣿⣿⣿⣿⣿⣿⣿⣦⡀
#   ⠈⠻⣿⣿⣿⣿⣿⣿⣿⣿⠿⠿⠛⠉         ⠈⠛⠿⣿⣿⣿⣿⣿⣿⣦⡀


#          ⢸⣦⡈⠻⣿⣿⣿⣶⣄
#          ⢸⣿⣿⣦⡈⠻⣿⣿⣿⣷⣄       ▀█ ▟█▀ ▟▀▀ ▟▀▀  ▟▀█ █▀▙ ▟▀▀ █▃█ ▟█▀ █▀▙
#    ⣀⣀⣀⣀⣀⣀⣼⣿⣿⣿⣿ ⠈⠻⣿⣿⣿⣷⣄    ▄▄▛ ▜▄▄ ▄▄▛ ▄▄▛  █▀█ █▀▙ ▜▄▄ █▔█ ▜▄▄ █▀▙
#    ⠈⠻⣿⣿⣿⣿⣿⡿⠿⠛⠁   ⠈⠻⢿⣿⣿⣷⣄


#       ⣿⡇⣿⣟⣛⣛ ⠚⠛⠛⠓
#    ⢤⣤⣴⡿⠃⣿⣯⣭⣭

#            ⣷⣝⢿⣷⣄
#         ⠲⣶⣶⡿⠟ ⠙⢿⣷⣄

#            ⢸⣷ ⣿⣟⣛⡓ ⢾⣿⡛⠓ ⢾⣿⡛⠓  ⣿⣷⣄ ⣿⣟⣛⣿⠆  ⢿⣷⣄
#          ⢤⣤⣾⠟ ⣿⣯⣭⣍ ⢤⣬⣿⡷ ⢤⣬⣿⡷  ⣿⡏⠻⣷⣝⠏⠻⣷⣄   ⠙⢿⣷⣄


#           ⣸ ⣯ ⣫ ⣫  ⣵ ⣟ ⣏ ⣿ ⣯ ⣟

#           ⣀⠇⢸⣍ ⣪⠅⢐⡭  ⡮⡆⢸⢕ ⣏⡁⢸⢼ ⣯⡁⢸⢕

# ⢤⣼⠷⣄ Jess Archer
