Merge pull request #290 from aranega/master
Add terminal font detection support for terminology
This commit is contained in:
commit
fd7136e57a
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
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue