DE: Fix empty var
This commit is contained in:
parent
0b188d7c55
commit
8bacdc2cc1
2
neofetch
2
neofetch
|
@ -539,7 +539,7 @@ get_de() {
|
||||||
(( wm_run != 1 )) && get_wm
|
(( wm_run != 1 )) && get_wm
|
||||||
|
|
||||||
if [[ "$XDG_CURRENT_DESKTOP" ]]; then
|
if [[ "$XDG_CURRENT_DESKTOP" ]]; then
|
||||||
de="${de/'X-'}"
|
de="${XDG_CURRENT_DESKTOP/'X-'}"
|
||||||
de="${de/Budgie:GNOME/Budgie}"
|
de="${de/Budgie:GNOME/Budgie}"
|
||||||
|
|
||||||
elif [[ "$DESKTOP_SESSION" ]]; then
|
elif [[ "$DESKTOP_SESSION" ]]; then
|
||||||
|
|
Reference in New Issue