diff --git a/CHANGELOG.md b/CHANGELOG.md index d3675e2d..4426f5dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -167,6 +167,7 @@ Neofetch now has an irc channel at `#neofetch` on Freenode. If you have any ques - Added support for Konsole. **[@mstraube](https://github.com/mstraube)** - Added support for Sakura Terminal. **[@mstraube](https://github.com/mstraube)** - Added support for Pantheon Terminal. **[@mstraube](https://github.com/mstraube)** +- Added support for deepin-terminal. **[@mstraube](https://github.com/mstraube)** - [Termite] Fixed incorrect font chosen. **[@mstraube](https://github.com/mstraube)** - [Termite] Also look at default config. **[@mstraube](https://github.com/mstraube)** diff --git a/neofetch b/neofetch index 13482ca5..889c9f5f 100755 --- a/neofetch +++ b/neofetch @@ -1617,6 +1617,10 @@ get_term_font() { term_font="$(osascript -e 'tell application "Terminal" to font name of window frontmost')" ;; + "deepin-terminal"*) + term_font="$(awk -F '=' '/font=/ {a=$2} /font_size/ {b=$2} END{print a " " b}' "${XDG_CONFIG_HOME}/deepin/deepin-terminal/config.conf")" + ;; + "Hyper"*) term_font="$(awk -F "," '/fontFamily/ {a=$1} END{print a}' "${HOME}/.hyper.js" | awk -F "'" '{a=$2} END{print a}')" ;;