Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Added linux_small #2417

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
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
17 changes: 15 additions & 2 deletions neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ image_source="auto"
# Artix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola,
# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS,
# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian,
# postmarketOS, and Void have a smaller logo variant.
# postmarketOS, Linux, and Void have a smaller logo variant.
# Use '{distro name}_small' to use the small variants.
ascii_distro="auto"

Expand Down Expand Up @@ -1128,7 +1128,8 @@ get_distro() {
if [[ $distro == "Ubuntu"* ]]; then
case $XDG_CONFIG_DIRS in
*"studio"*) distro=${distro/Ubuntu/Ubuntu Studio} ;;
*"plasma"*) distro=${distro/Ubuntu/Kubuntu} ;;
*"kde"*) distro=${distro/Ubuntu/Kubuntu} ;;
*"plasma") distro=${distro/Ubuntu/Kubuntu} ;;
*"mate"*) distro=${distro/Ubuntu/Ubuntu MATE} ;;
*"xubuntu"*) distro=${distro/Ubuntu/Xubuntu} ;;
*"Lubuntu"*) distro=${distro/Ubuntu/Lubuntu} ;;
Expand Down Expand Up @@ -8304,6 +8305,18 @@ ${c3} ##${c2}#${c1}###########${c2}##${c3}#
${c3}######${c2}#${c1}#######${c2}#${c3}######
${c3}#######${c2}#${c1}#####${c2}#${c3}#######
${c3} #####${c2}#######${c3}#####
EOF
;;
"Linux_small")
set_colors fg 8 3
read -rd '' ascii_data << 'EOF'
${c2} ___
${c2} (${c1}.. ${c2}|
${c2} (${c3}<> ${c2}|
${c2} / ${c1}__ ${c2}\\
${c2} ( ${c1}/ \\ ${c2}/|
${c3}_${c2}/\\ ${c1}__)${c2}/${c3}_${c2})
${c3}\/${c2}-____${c3}\/
EOF
;;

Expand Down