在 Linux 上自定义 Compton 的主题
一 核心概念与能力边界
二 快速上手与配置文件位置
三 主题化常用配置项与示例
backend = glx
vsync = true
shadow = true
opacity = 0.92
shadow-radius = 8
shadow-offset-x = 1
shadow-offset-y = 1
shadow-opacity = 0.25
blur-background = true
blur {
method = gaussian
size = 10
deviation = 5.0
}
[opacity-rule]
90:class_g = 'Firefox'
95:name = 'Terminal'
shadow-exclude = [
"class_g = 'Conky'",
"class_g = 'Polybar'"
]
四 进阶与排错建议