Add E17 support for wmtheme
This commit is contained in:
parent
a1047bd3d1
commit
95bda4827c
9
neofetch
9
neofetch
|
@ -836,6 +836,15 @@ getwmtheme () {
|
|||
;;
|
||||
|
||||
'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
|
||||
wmtheme="$(eet -d $HOME/.e/e/config/standard/e.cfg config | awk '/value \"file\" string.*.edj/ {print $4}')"
|
||||
wmtheme=${wmtheme##*/}
|
||||
wmtheme=${wmtheme%.*}
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
wmtheme="${wmtheme//\'}"
|
||||
}
|
||||
|
|
Reference in New Issue