Merge pull request #963 from dawidd6/unity

de: fix Unity in 18.04
This commit is contained in:
Dylan Araps 2018-04-30 06:12:08 +00:00 committed by GitHub
commit 8e3f717493
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -697,6 +697,7 @@ get_de() {
if [[ "$XDG_CURRENT_DESKTOP" ]]; then
de="${XDG_CURRENT_DESKTOP/'X-'}"
de="${de/Budgie:GNOME/Budgie}"
de="${de/:Unity7:ubuntu}"
elif [[ "$DESKTOP_SESSION" ]]; then
de="${DESKTOP_SESSION##*/}"