mirror of
https://github.com/dylanaraps/neofetch.git
synced 2026-01-05 22:59:06 +00:00
Add E17 support for wmtheme
This commit is contained in:
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
Block a user