在Debian中使用Compton进行主题定制,可参考以下步骤:
sudo apt update
和sudo apt install compton
。~/.config/compton.conf
,若不存在则手动创建。使用文本编辑器如nano
打开,命令为nano ~/.config/compton.conf
。shadow
(是否启用阴影)、opacity
(透明度)、background
(背景颜色)等。例如:shadow = true
opacity = 0.9
background = "#1e1e1e"
pkill compton
和compton -c ~/.config/compton.conf &
。此外,还可通过安装compton-theme-gtk2
等工具辅助主题定制。