|
|
@ -519,19 +519,20 @@ function install_font() {
|
|
|
|
local size=$iterm2_font_size
|
|
|
|
local size=$iterm2_font_size
|
|
|
|
[[ $size == 12 ]] && size=13
|
|
|
|
[[ $size == 12 ]] && size=13
|
|
|
|
local k t v settings=(
|
|
|
|
local k t v settings=(
|
|
|
|
'"Normal Font"' string '"MesloLGS-NF-Regular '$size'"'
|
|
|
|
'"Normal Font"' string '"MesloLGS-NF-Regular '$size'"'
|
|
|
|
'"Terminal Type"' string '"xterm-256color"'
|
|
|
|
'"Terminal Type"' string '"xterm-256color"'
|
|
|
|
'"Horizontal Spacing"' real 1
|
|
|
|
'"Horizontal Spacing"' real 1
|
|
|
|
'"Vertical Spacing"' real 1
|
|
|
|
'"Vertical Spacing"' real 1
|
|
|
|
'"Minimum Contrast"' real 0
|
|
|
|
'"Minimum Contrast"' real 0
|
|
|
|
'"Use Bold Font"' bool 1
|
|
|
|
'"Use Bold Font"' bool 1
|
|
|
|
'"Use Bright Bold"' bool 1
|
|
|
|
'"Use Bright Bold"' bool 1
|
|
|
|
'"Use Italic Font"' bool 1
|
|
|
|
'"Use Italic Font"' bool 1
|
|
|
|
'"ASCII Anti Aliased"' bool 1
|
|
|
|
'"ASCII Anti Aliased"' bool 1
|
|
|
|
'"Non-ASCII Anti Aliased"' bool 1
|
|
|
|
'"Non-ASCII Anti Aliased"' bool 1
|
|
|
|
'"Use Non-ASCII Font"' bool 0
|
|
|
|
'"Use Non-ASCII Font"' bool 0
|
|
|
|
'"Ambiguous Double Width"' bool 0
|
|
|
|
'"Ambiguous Double Width"' bool 0
|
|
|
|
'"Draw Powerline Glyphs"' bool 1
|
|
|
|
'"Draw Powerline Glyphs"' bool 1
|
|
|
|
|
|
|
|
'"Only The Default BG Color Uses Transparency"' bool 1
|
|
|
|
)
|
|
|
|
)
|
|
|
|
for k t v in $settings; do
|
|
|
|
for k t v in $settings; do
|
|
|
|
/usr/libexec/PlistBuddy -c "Set :\"New Bookmarks\":0:$k $v" \
|
|
|
|
/usr/libexec/PlistBuddy -c "Set :\"New Bookmarks\":0:$k $v" \
|
|
|
|