Merge pull request #290 from aranega/master
Add terminal font detection support for terminology
This commit is contained in:
commit
fd7136e57a
1 changed files with 6 additions and 0 deletions
6
neofetch
6
neofetch
|
@ -1814,6 +1814,12 @@ gettermfont () {
|
|||
"Apple_Terminal")
|
||||
termfont="$(osascript -e 'tell application "Terminal" to font name of window frontmost')"
|
||||
;;
|
||||
|
||||
"terminology")
|
||||
termfont="$(strings ${XDG_CONFIG_HOME}/terminology/config/standard/base.cfg | awk '/^font\.name$/{print a}{a=$0}')"
|
||||
termfont="${termfont/.pcf}"
|
||||
termfont="${termfont/:*}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue