[PR] dylanaraps/neofetch#1631 from FreeApp2014 - Added KrassOS Linux

Upstream PR: https://github.com/dylanaraps/neofetch/pull/1631
Thanks to @FreeApp2014

Co-authored-by: FreeApp2014 <contact@freeappsw.space>
This commit is contained in:
Azalea (on HyDEV-Daisy) 2022-08-11 16:47:25 -04:00
commit 3b781bc84f

View file

@ -981,6 +981,13 @@ get_distro() {
*) distro="Red Star OS $(awk -F'[^0-9*]' '$0=$2' /etc/redstar-release)"
esac
elif [[ -f /etc/KrassOS.version ]]; then
case $distro_shorthand in
on|tiny) distro="KrassOS" ;;
*) distro="KrassOS $(awk '/release/{print $2}' /etc/KrassOS.version)"
esac
elif [[ -f /etc/armbian-release ]]; then
. /etc/armbian-release
distro="Armbian $DISTRIBUTION_CODENAME (${VERSION:-})"
@ -12774,6 +12781,31 @@ ${c2} @&&&&${c1} *'*,
EOF
;;
"KrassOS"* | "Krass"*)
set_colors 4 7
read -rd '' ascii_data <<'EOF'
${c1} ${c2}**@@@@@@@@@@@*
${c2},@@@@%${c1}(((((((((((((${c2}%@@@@,
${c2}#@@&${c1}(((((((((((((((((((((((${c2}&@@%
${c2}@@&${c1}(((((((((((((((((((((((((((((${c2}@@@
${c2}@@&${c1}(((((((((((((((((((((((((((((((((${c2}&@@
${c2}.@@${c1}(((((((((((((((((((((((((((((((((((((${c2}@@.
${c2}@@${c1}(((((((((((((((((((((((((((((((((((((((${c2}@@
${c2}@@#${c1}(((((((((((((((((((((((((((((${c2}%@@@@@@@#${c1}(#${c2}@@
${c2}.@@${c1}((((((((((((((((${c2}#%@@@@@@@@@&%#${c1}((((${c2}%@&${c1}((((${c2}@@.
${c2}.@@${c1}(((((((/(${c2}&@@@@@@%${c1}(/((((((((((((((${c2}@@/${c1}(((((${c2}@@.
${c2}.@@${c1}(///////////////////////////////${c2}@${c1}(///////${c2}@@
${c2}%@#${c1}/////////////////////////////(${c2}#${c1}////////${c2}%@%
${c2} @@${c1}(///////////////////////////${c2}%${c1}/////////(${c2}@@
${c2}@@#${c1}***********************************${c2}%@@
${c2}*@@${c1}********************************${c2}/@@/
${c2},@@#${c1}***************************${c2}%@@*
${c2}@@@&${c1}********************${c2}/@@@@
${c2}&@@@@&${c1}(//***//(${c2}&@@@@&
${c1} ${c2}**@@@@@@@@@@@*
EOF
;;
"IRIX"*)
set_colors 4 7
read -rd '' ascii_data <<'EOF'