Enhancement: Add font and other profile information to AppleScript output
In Neofetch, we're adding support for printing the terminal emulator and the font used in version 1.8. This works great in Apple Terminal with the command osascript -e 'tell application "Terminal" to font name of window frontmost'
, and I can get information like the colours used in the current iTerm2 window with osascript -e 'tell application "iTerm2" to name of current session of current window'
Being able to get the font information with AppleScript would allow for this feature to have parity when running Neofetch on different systems. If there's an easier way that is fast and is already implemented, please let me know
cc @dylanaraps