From 652c4ec8821fa7ce0d86f5dc0294b2ebbd0fe6b6 Mon Sep 17 00:00:00 2001 From: Law Zava Date: Thu, 6 Feb 2020 19:22:16 +0100 Subject: [PATCH] Regolith linux support --- neofetch | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/neofetch b/neofetch index 59cfa1b3..ecf7594d 100755 --- a/neofetch +++ b/neofetch @@ -965,6 +965,12 @@ get_distro() { distro="Proxmox VE ${distro%/*}" esac + elif [[ $DESKTOP_SESSION == regolith ]]; then + case $distro_shorthand in + on|tiny) distro="Regolith";; + *) distro="Regolith ($(lsb_release -sic))" + esac + elif type -p lsb_release >/dev/null; then case $distro_shorthand in on) lsb_flags=-si ;; @@ -8867,6 +8873,31 @@ d/hhhhhhhhhhhh${c3}`-/osyso+-`${c1}hhhhhhhhhhhh.h EOF ;; + "Regolith"*) + set_colors 1 + read -rd '' ascii_data <<'EOF' +${c1} + ``....``` + `.:/++++++/::-.` + -/+++++++:.` + -++++++++:` + `/++++++++- + `/++++++++. -/+/ + /++++++++/ `` .:+++:. + -+++++++++/ ./++++:+++/-` + :+++++++++/ `+++++++/-` + :++++++++++` .-/+++++++` + `:++++++++++/``.-/++++:-:::-` ` + `:+++++++++++++++++/:.` ./` +:++/-:+++++++++/:-.. -/+. ++++++++++/::-...:/+++/-..````..-/+++. +`......``.::/+++++++++++++++++++++/. + -/+++++++++++++++++++++/. + .:/+++++++++++++++/-` + `.-:://////:-. +EOF + ;; + "Rosa"*) set_colors 4 7 1 read -rd '' ascii_data <<'EOF'