[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:
@@ -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
|
||||||
)"
|
)"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user