Compton 本身不直接提供缩放功能,可通过以下间接方式实现类似效果:
~/.config/compton.conf)中使用 transform 参数设置缩放比例,例如:transform = "scale(1.5, 1.5)"(放大1.5倍)。xrandr 命令调整输出缩放,例如:xrandr --output <显示器名称> --scale 1.2x1.2,可在 Compton 配置中通过脚本自动执行。glx-scale 参数(需谨慎使用,可能不稳定)。修改后需重启 Compton 生效,命令为:
sudo systemctl restart compton(或通过启动脚本调用)。
注:具体参数可能因版本不同有所差异,建议参考官方文档或 compton --help 查看可用选项。