From 4ebb0ac1537449c2e678cf815217db81f4e2ec8b Mon Sep 17 00:00:00 2001 From: Michael Straube Date: Wed, 18 Jan 2017 17:40:27 +0100 Subject: [PATCH 1/2] Term Font: Add support for deepin-terminal --- neofetch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neofetch b/neofetch index 7761f0df..f0458dd1 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}')" ;; From 8063e3722a3790060189ca80bdc142f48d0fdaa6 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 19 Jan 2017 08:59:23 +1100 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) 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)**