de: Temporary support for Regolith.

This commit is contained in:
Dylan Araps 2020-02-06 20:51:53 +02:00
parent 997b7dd855
commit eabdbcdb2b
No known key found for this signature in database
GPG key ID: 46D62DD9F1DE636E

View file

@ -1629,7 +1629,11 @@ get_de() {
*) *)
((wm_run != 1)) && get_wm ((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=${XDG_CURRENT_DESKTOP/X\-}
de=${de/Budgie:GNOME/Budgie} de=${de/Budgie:GNOME/Budgie}
de=${de/:Unity7:ubuntu} de=${de/:Unity7:ubuntu}