From 83a92ca5c20e262c254c0d6084a29d408024c2ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Rebe?= Date: Fri, 7 Feb 2020 19:36:21 +0100 Subject: [PATCH] initial t2 support --- neofetch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/neofetch b/neofetch index 6bf0a596..cb69f57b 100755 --- a/neofetch +++ b/neofetch @@ -997,6 +997,12 @@ get_distro() { *) distro="GoboLinux $(< /etc/GoboLinuxVersion)" esac + elif [[ -f /etc/SDE-VERSION ]]; then + distro="$(< /etc/SDE-VERSION)" + case $distro_shorthand in + on|tiny) distro="${distro% *}" ;; + esac + elif type -p crux >/dev/null; then distro=$(crux) case $distro_shorthand in @@ -1446,6 +1452,7 @@ get_packages() { has sorcery && tot gaze installed has alps && tot alps showinstalled has butch && tot butch list + has mine && tot mine -q # Counting files/dirs. # Variables need to be unquoted here. Only Bedrock Linux is affected. @@ -9369,6 +9376,19 @@ ${c2} `-++:` EOF ;; + "t2"*) + set_colors 7 4 + read -rd '' ascii_data <<'EOF' +${c2} +TTTTTTTTTT + tt ${c1}222${c2} + tt ${c1}2 2${c2} + tt ${c1}2${c2} + tt ${c1}2${c2} + tt ${c1}22222${c2} +EOF + ;; + "openSUSE Tumbleweed"* | "openSUSE_Tumbleweed"*) set_colors 2 7 read -rd '' ascii_data <<'EOF'