mirror of
https://github.com/romkatv/powerlevel10k
synced 2024-12-25 15:32:18 +00:00
disable background transparency in iTerm2
This commit is contained in:
parent
db6f909958
commit
a88e11f54b
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user