Add support for Deepin

This commit is contained in:
Dylan 2016-04-01 11:36:19 +11:00
parent 6446660155
commit 7f3c7f07e5
1 changed files with 5 additions and 0 deletions

View File

@ -829,6 +829,11 @@ getwmtheme () {
wmtheme="$(gconftool-2 -g /apps/metacity/general/theme)"
fi
;;
'Deepin WM')
type -p gsettings >/dev/null 2>&1 && \
wmtheme="$(gsettings get com.deepin.wrap.gnome.desktop.wm.preferences theme)"
;;
esac
wmtheme="${wmtheme//\'}"
}