aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-06-28 12:11:27 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-06-28 12:11:27 +0300
commita88e11f54b567f1d30a4e699c3b53966375bc4bf (patch)
treec3927c0c1520acf6f45e75ac36f71220593089b2
parentdb6f909958bdc452f45f62df58c123c50fed1c5f (diff)
disable background transparency in iTerm2
-rw-r--r--internal/wizard.zsh27
1 files changed, 14 insertions, 13 deletions
diff --git a/internal/wizard.zsh b/internal/wizard.zsh
index eb27e2c1..b078a9e2 100644
--- a/internal/wizard.zsh
+++ b/internal/wizard.zsh
@@ -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" \