[PR] dylanaraps/neofetch#2017 from MVS - Add font size for Apple Terminal
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2017 Thanks to @MVS Co-authored-by: MVS <MVS@users.noreply.github.com>
This commit is contained in:
commit
af8138a35f
1 changed files with 2 additions and 1 deletions
3
neofetch
3
neofetch
|
@ -3481,7 +3481,8 @@ get_term_font() {
|
||||||
|
|
||||||
"Apple_Terminal")
|
"Apple_Terminal")
|
||||||
term_font="$(osascript <<END
|
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
|
END
|
||||||
)"
|
)"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Reference in a new issue