DE: Fix empty var
This commit is contained in:
parent
0b188d7c55
commit
8bacdc2cc1
1 changed files with 1 additions and 1 deletions
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
|
||||||
|
|
Loading…
Reference in a new issue