mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 09:08:38 +00:00
os: Fix ubuntu studio. Closes #1733
This commit is contained in:
2
neofetch
2
neofetch
@@ -1124,12 +1124,12 @@ get_distro() {
|
|||||||
# Get Ubuntu flavor.
|
# Get Ubuntu flavor.
|
||||||
if [[ $distro == "Ubuntu"* ]]; then
|
if [[ $distro == "Ubuntu"* ]]; then
|
||||||
case $XDG_CONFIG_DIRS in
|
case $XDG_CONFIG_DIRS in
|
||||||
|
*"studio"*) distro=${distro/Ubuntu/Ubuntu Studio} ;;
|
||||||
*"plasma"*) distro=${distro/Ubuntu/Kubuntu} ;;
|
*"plasma"*) distro=${distro/Ubuntu/Kubuntu} ;;
|
||||||
*"mate"*) distro=${distro/Ubuntu/Ubuntu MATE} ;;
|
*"mate"*) distro=${distro/Ubuntu/Ubuntu MATE} ;;
|
||||||
*"xubuntu"*) distro=${distro/Ubuntu/Xubuntu} ;;
|
*"xubuntu"*) distro=${distro/Ubuntu/Xubuntu} ;;
|
||||||
*"Lubuntu"*) distro=${distro/Ubuntu/Lubuntu} ;;
|
*"Lubuntu"*) distro=${distro/Ubuntu/Lubuntu} ;;
|
||||||
*"budgie"*) distro=${distro/Ubuntu/Ubuntu Budgie} ;;
|
*"budgie"*) distro=${distro/Ubuntu/Ubuntu Budgie} ;;
|
||||||
*"studio"*) distro=${distro/Ubuntu/Ubuntu Studio} ;;
|
|
||||||
*"cinnamon"*) distro=${distro/Ubuntu/Ubuntu Cinnamon} ;;
|
*"cinnamon"*) distro=${distro/Ubuntu/Ubuntu Cinnamon} ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user