DE: Fix WM Theme not detected on MATE
This commit is contained in:
parent
dcdfaa7652
commit
67dce7f48d
3
neofetch
3
neofetch
|
@ -639,6 +639,9 @@ get_wm_theme() {
|
||||||
if [[ "$de" == "Deepin" ]]; then
|
if [[ "$de" == "Deepin" ]]; then
|
||||||
wm_theme="$(gsettings get com.deepin.wrap.gnome.desktop.wm.preferences theme)"
|
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
|
else
|
||||||
wm_theme="$(gconftool-2 -g /apps/metacity/general/theme)"
|
wm_theme="$(gconftool-2 -g /apps/metacity/general/theme)"
|
||||||
fi
|
fi
|
||||||
|
|
Reference in New Issue