Add font size for Apple Terminal
This PR extends the Apple Terminal AppleScript call that fetches the font. It now fetches the font size and appends it to the font name to make the output match other terminals.
This commit is contained in:
parent
ccd5d9f526
commit
32fece816f
1 changed files with 2 additions and 1 deletions
3
neofetch
3
neofetch
|
@ -3371,7 +3371,8 @@ get_term_font() {
|
|||
|
||||
"Apple_Terminal")
|
||||
term_font="$(osascript <<END
|
||||
tell application "Terminal" to font name of window frontmost
|
||||
tell application "Terminal" to font name of window frontmost \
|
||||
& " " & font size of window frontmost
|
||||
END
|
||||
)"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue