Merge branch 'master' into regolith-linux-support

This commit is contained in:
Law Zava 2020-02-06 20:05:30 +01:00
commit 55ded9db32
1 changed files with 5 additions and 1 deletions

View File

@ -1629,7 +1629,11 @@ get_de() {
*)
((wm_run != 1)) && get_wm
if [[ $XDG_CURRENT_DESKTOP ]]; then
# Temporary!!
if [[ $DESKTOP_SESSION == regolith ]]; then
de=Regolith
elif [[ $XDG_CURRENT_DESKTOP ]]; then
de=${XDG_CURRENT_DESKTOP/X\-}
de=${de/Budgie:GNOME/Budgie}
de=${de/:Unity7:ubuntu}