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
1 changed files with 5 additions and 1 deletions

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}