We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 598731b commit 0729e40Copy full SHA for 0729e40
neofetch
@@ -3384,12 +3384,7 @@ END
3384
# See: https://groups.google.com/forum/#!topic/iterm2-discuss/0tO3xZ4Zlwg
3385
local current_profile_name profiles_count profile_name diff_font
3386
3387
- current_profile_name="$(osascript <<END
3388
- tell application "iTerm2" to profile name \
3389
- of current session of current window
3390
-END
3391
-)"
3392
-
+ current_profile_name=$ITERM_PROFILE
3393
# Warning: Dynamic profiles are not taken into account here!
3394
# https://www.iterm2.com/documentation-dynamic-profiles.html
3395
font_file="${HOME}/Library/Preferences/com.googlecode.iterm2.plist"
0 commit comments