问题
Alacritty 背景透明配置:
window:
dimensions:
columns: 130
lines: 34
# 内填充
padding:
x: 0
y: 0
# full or none or (macOS) transparent or buttonless
decorations: transparent
# 透明度:0 透明,1 不透明
opacity: 0.5
# 启动模式(Windowed / Maximized / Fullscreen / (macOS) SimpleFullscreen)
startup_mode: Windowed
windows.opacity
解决
根据 snOm3ad 回答:From
I have the same problem, On macOS 11.4.
Update:
It seems that the switch frombackground_opacity
towindow.opacity
was merged on August 16th, which is not included in the v0.9 release from August 3rd! So if your installation comes from the releases you still have to usebackground_opacity
in your config file! For more information see #5297.
替换 window.opacity
为 background_opacity
window:
dimensions:
columns: 130
lines: 34
# 内填充
padding:
x: 0
y: 0
# full or none or (macOS) transparent or buttonless
decorations: transparent
# 透明度:0 透明,1 不透明
# opacity: 1.0
# opacity: 0.5
# 启动模式(Windowed / Maximized / Fullscreen / (macOS) SimpleFullscreen)
startup_mode: Windowed
# background 透明
background_opacity: 0.9
网友评论