de: fix Unity in 18.04

This commit is contained in:
Dawid Dziurla 2018-04-27 11:54:38 +02:00
parent b87300d87a
commit 327e639eff
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B
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##*/}"