Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 36 additions & 3 deletions neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ image_source="auto"
# openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, Trisquel,
# Ubuntu-Cinnamon, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE,
# Ubuntu-Studio, Ubuntu, Univention, Venom, Void, semc, Obarun,
# windows10, Windows7, Xubuntu, Zorin, and IRIX have ascii logos.
# windows10, Windows7, Xubuntu, KrassOS Zorin, and IRIX have ascii logos.
# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants.
# Use '{distro name}_old' to use the old logos.
# NOTE: Ubuntu has flavor variants.
Expand Down Expand Up @@ -983,6 +983,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


Comment on lines +986 to +992
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The existing detection methods don't work?

elif [[ -f /etc/armbian-release ]]; then
. /etc/armbian-release
distro="Armbian $DISTRIBUTION_CODENAME (${VERSION:-})"
Expand Down Expand Up @@ -5069,7 +5076,7 @@ ASCII:
t2, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, Trisquel,
Ubuntu-Cinnamon, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE,
Ubuntu-Studio, Ubuntu, Univention, Venom, Void, semc, Obarun,
windows10, Windows7, Xubuntu, Zorin, and IRIX have ascii logos.
windows10, Windows7, Xubuntu, Zorin, KrassOS, and IRIX have ascii logos.

NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants.

Expand Down Expand Up @@ -10688,6 +10695,32 @@ yyyyyyy${c2}+MMMMMMMMMMMMMMMMMMMMMMMM/${c1}yyyyyyy
`yyyyyyyyyyyyyyyyyyyyyyyyyy`
`.yyyyyyyyyyyyyyyyyyyy.`
`.:/oosyyyysso/:.`
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"*)
Expand Down Expand Up @@ -10868,7 +10901,7 @@ ${c1} `- `
EOF
;;

"IRIX"*)
"IRIX"*)
set_colors 4 7
read -rd '' ascii_data <<'EOF'
${c1} ./ohmNd/ +dNmho/-
Expand Down