From 8967ab42004e2f514938afaea93b3f8f25f33854 Mon Sep 17 00:00:00 2001 From: Corentin Girard Date: Thu, 19 Aug 2021 13:59:41 +0200 Subject: [PATCH] Add long distro name for Manjaro Linux Example: Manjaro Linux 21.1.0 Pahvo --- neofetch | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/neofetch b/neofetch index 48b96d215..79769f470 100755 --- a/neofetch +++ b/neofetch @@ -987,6 +987,12 @@ get_distro() { . /etc/armbian-release distro="Armbian $DISTRIBUTION_CODENAME (${VERSION:-})" + elif [[ -f /etc/manjaro-release ]]; then + case $distro_shorthand in + on|tiny) distro="Manjaro Linux" ;; + *) distro="Manjaro Linux $(lsb_release -src)" + esac + elif [[ -f /etc/siduction-version ]]; then case $distro_shorthand in on|tiny) distro=Siduction ;;