Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Latest commit

 

History

History
15 lines (10 loc) · 573 Bytes

透明度.md

File metadata and controls

15 lines (10 loc) · 573 Bytes

透明度

i3bar 支持通过在配置中使用 --transparency flag 来启用透明:

语法:

bar {
    i3bar_command i3bar --transparency
}

在 i3bar 颜色配置和 i3bar 状态配置的颜色属性中你可以使用 RGBA 格式的颜色,也就是使用最后两位十六进制数字来指定透明度。举个例子,#00000000 是完全透明,而 #000000FF 则是完全不透明的黑色(和 #000000 是一样的)。

请注意由于托盘配置的工作方式,启用这个配置将会导致托盘图标的背景变成透明的。