diff --git a/neofetch b/neofetch index bf5c8106..a198b31f 100755 --- a/neofetch +++ b/neofetch @@ -814,6 +814,10 @@ getwmtheme () { case "$wm" in '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")";; + 'Marco') wmtheme="$(gsettings get org.mate.Marco.general theme)" ;; + '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")" ;; 'Cinnamon' | 'Muffin') detheme="$(gsettings get org.cinnamon.theme name)" @@ -835,8 +839,6 @@ getwmtheme () { wmtheme="$(gsettings get com.deepin.wrap.gnome.desktop.wm.preferences theme)" ;; - 'E16') wmtheme="$(awk -F"= " '/theme.name/ {print $2}' "$HOME/.e16/e_config--0.0.cfg")";; - 'E17'|'Enlightenment') # TODO: Reduce the size of this. if type -p eet >/dev/null 2>&1; then @@ -846,6 +848,31 @@ getwmtheme () { fi ;; + 'Fluxbox') + [ -f $HOME/.fluxbox/init ] && \ + wmtheme="$(awk -F "/" '/styleFile/ {print $NF}' "$HOME/.fluxbox/init")" + ;; + + 'IceWM') + [ -f $HOME/.icewm/theme ] && \ + wmtheme="$(awk -F "[\",/]" '!/#/ {print $2}' "$HOME/.icewm/theme")" + ;; + + 'Openbox') + [ -f "${HOME}/.config/openbox/rc.xml" ] && \ + wmtheme="$(awk -F "[<,>]" '/