Skip to content

Commit

Permalink
Add long distro name for Manjaro Linux
Browse files Browse the repository at this point in the history
Example: Manjaro Linux 21.1.0 Pahvo
  • Loading branch information
Drarig29 committed Jan 24, 2022
1 parent ccd5d9f commit 8967ab4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;;
Expand Down

0 comments on commit 8967ab4

Please sign in to comment.