Merge pull request #624 from mstraube/deepin
Term Font: Add support for deepin-terminal
This commit is contained in:
commit
32266f328d
1 changed files with 4 additions and 0 deletions
4
neofetch
4
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}')"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue