Merge pull request #1 from dylanaraps/master

de: Temporary support for Regolith.
This commit is contained in:
Law Zava 2020-02-06 20:01:23 +01:00 committed by GitHub
commit 77f06d94fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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}