Merge pull request #1406 from rxrbln/master
Added initial t2 Linux support
This commit is contained in:
commit
8c51f2ede8
1 changed files with 20 additions and 0 deletions
20
neofetch
20
neofetch
|
@ -997,6 +997,12 @@ get_distro() {
|
||||||
*) distro="GoboLinux $(< /etc/GoboLinuxVersion)"
|
*) distro="GoboLinux $(< /etc/GoboLinuxVersion)"
|
||||||
esac
|
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
|
elif type -p crux >/dev/null; then
|
||||||
distro=$(crux)
|
distro=$(crux)
|
||||||
case $distro_shorthand in
|
case $distro_shorthand in
|
||||||
|
@ -1446,6 +1452,7 @@ get_packages() {
|
||||||
has sorcery && tot gaze installed
|
has sorcery && tot gaze installed
|
||||||
has alps && tot alps showinstalled
|
has alps && tot alps showinstalled
|
||||||
has butch && tot butch list
|
has butch && tot butch list
|
||||||
|
has mine && tot mine -q
|
||||||
|
|
||||||
# Counting files/dirs.
|
# Counting files/dirs.
|
||||||
# Variables need to be unquoted here. Only Bedrock Linux is affected.
|
# Variables need to be unquoted here. Only Bedrock Linux is affected.
|
||||||
|
@ -9369,6 +9376,19 @@ ${c2} `-++:`
|
||||||
EOF
|
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"*)
|
"openSUSE Tumbleweed"* | "openSUSE_Tumbleweed"*)
|
||||||
set_colors 2 7
|
set_colors 2 7
|
||||||
read -rd '' ascii_data <<'EOF'
|
read -rd '' ascii_data <<'EOF'
|
||||||
|
|
Loading…
Reference in a new issue