[F] Fix Apple_Terminal not identified after the Fig change
https://github.com/dylanaraps/neofetch/pull/2017 https://github.com/dylanaraps/neofetch/pull/2077
This commit is contained in:
@@ -3479,7 +3479,7 @@ get_term_font() {
|
|||||||
term_font="${term_font//\"}"
|
term_font="${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
|
& " " & font size of window frontmost
|
||||||
@@ -3492,7 +3492,7 @@ END
|
|||||||
"${XDG_CONFIG_HOME}/cutefishos/cutefish-terminal.conf")"
|
"${XDG_CONFIG_HOME}/cutefishos/cutefish-terminal.conf")"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"iTerm2")
|
"iTerm2"*)
|
||||||
# Unfortunately the profile name is not unique, but it seems to be the only thing
|
# Unfortunately the profile name is not unique, but it seems to be the only thing
|
||||||
# that identifies an active profile. There is the "id of current session of current win-
|
# that identifies an active profile. There is the "id of current session of current win-
|
||||||
# dow" though, but that does not match to a guid in the plist.
|
# dow" though, but that does not match to a guid in the plist.
|
||||||
|
|||||||
Reference in New Issue
Block a user