Merge pull request #590 from mstraube/mate

DE: Fix WM Theme not detected on MATE
This commit is contained in:
Dylan Araps 2017-01-04 08:25:13 +11:00 committed by GitHub
commit 692b212291
1 changed files with 3 additions and 0 deletions

View File

@ -639,6 +639,9 @@ get_wm_theme() {
if [[ "$de" == "Deepin" ]]; then
wm_theme="$(gsettings get com.deepin.wrap.gnome.desktop.wm.preferences theme)"
elif [[ "$de" == "MATE" ]]; then
wm_theme="$(gsettings get org.mate.Marco.general theme)"
else
wm_theme="$(gconftool-2 -g /apps/metacity/general/theme)"
fi