1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-12 08:10:07 +00:00

disable background transparency in iTerm2

This commit is contained in:
Roman Perepelitsa 2020-06-28 11:11:27 +02:00
parent db6f909958
commit a88e11f54b

View file

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