de: Fix GNOME bug
This commit is contained in:
parent
ca49b178fe
commit
db21981373
1 changed files with 4 additions and 1 deletions
5
neofetch
5
neofetch
|
@ -689,7 +689,10 @@ get_de() {
|
||||||
*"xfce5"*) de="Xfce5" ;;
|
*"xfce5"*) de="Xfce5" ;;
|
||||||
*"xfce"*) de="Xfce" ;;
|
*"xfce"*) de="Xfce" ;;
|
||||||
*"mate"*) de="MATE" ;;
|
*"mate"*) de="MATE" ;;
|
||||||
*"GNOME"*) de="GNOME $(gnome-shell --version)" ;;
|
*"GNOME"*)
|
||||||
|
de="$(gnome-shell --version)"
|
||||||
|
de="${de/Shell }"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Log that the function was run.
|
# Log that the function was run.
|
||||||
|
|
Loading…
Reference in a new issue