This commit is contained in:
Dylan 2016-04-01 18:27:00 +11:00
parent 45e632e2bc
commit 3bcfe6691b

View file

@ -816,7 +816,6 @@ getwmtheme () {
case "$wm" in case "$wm" in
'BudgieWM') wmtheme="$(gsettings get org.gnome.desktop.wm.preferences theme)" ;; 'BudgieWM') wmtheme="$(gsettings get org.gnome.desktop.wm.preferences theme)" ;;
'E16') wmtheme="$(awk -F"= " '/theme.name/ {print $2}' "$HOME/.e16/e_config--0.0.cfg")";; 'E16') wmtheme="$(awk -F"= " '/theme.name/ {print $2}' "$HOME/.e16/e_config--0.0.cfg")";;
'Marco') wmtheme="$(gsettings get org.mate.Marco.general theme)" ;;
'Metacity'*) wmtheme="$(gconftool-2 -g /apps/metacity/general/theme 2>/dev/null)" ;; 'Metacity'*) wmtheme="$(gconftool-2 -g /apps/metacity/general/theme 2>/dev/null)" ;;
'Sawfish') wmtheme="$(awk -F ")" '/\(quote default-frame-style/ {print $2}' "$HOME/.sawfish/custom")" ;; 'Sawfish') wmtheme="$(awk -F ")" '/\(quote default-frame-style/ {print $2}' "$HOME/.sawfish/custom")" ;;
@ -840,7 +839,7 @@ getwmtheme () {
wmtheme="$(gsettings get com.deepin.wrap.gnome.desktop.wm.preferences theme)" wmtheme="$(gsettings get com.deepin.wrap.gnome.desktop.wm.preferences theme)"
;; ;;
'E17'|'Enlightenment') 'E17' | 'Enlightenment')
# TODO: Reduce the size of this. # TODO: Reduce the size of this.
if type -p eet >/dev/null 2>&1; then if type -p eet >/dev/null 2>&1; then
wmtheme="$(eet -d $HOME/.e/e/config/standard/e.cfg config | awk '/value \"file\" string.*.edj/ {print $4}')" wmtheme="$(eet -d $HOME/.e/e/config/standard/e.cfg config | awk '/value \"file\" string.*.edj/ {print $4}')"