Skip to content

Commit

Permalink
[PR] dylanaraps#1631 from FreeApp2014 - Added KrassOS Linux
Browse files Browse the repository at this point in the history
Upstream PR: dylanaraps#1631
Thanks to @FreeApp2014

Co-authored-by: FreeApp2014 <contact@freeappsw.space>
  • Loading branch information
hykilpikonna and FreeApp2014 committed Aug 11, 2022
2 parents a656531 + 0a4a58c commit 3b781bc
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -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:-})"
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 3b781bc

Please sign in to comment.