-- 外观:间距、边框、圆角、阴影、模糊 hl.config({ general = { gaps_in = 5, -- 窗口内间距 gaps_out = 20, -- 窗口外间距 border_size = 2, -- 边框宽度 col = { active_border = "rgba(89b4faee)", -- Catppuccin Mocha 蓝 inactive_border = "rgba(45475aaa)", -- Catppuccin Mocha 表面0 }, resize_on_border = true, -- 拖拽边框调整窗口大小 extend_border_grab_area = 10, -- 边框可拖拽区域扩展 allow_tearing = false, layout = "dwindle", }, decoration = { rounding = 10, -- 圆角半径 rounding_power = 2, active_opacity = 1.0, -- 活动窗口不透明度 inactive_opacity = 0.95, -- 非活动窗口微透明 shadow = { enabled = true, range = 4, -- 阴影范围 render_power = 3, -- 阴影渲染精度 color = 0xee1a1a1a, -- 深色半透明阴影 }, blur = { enabled = true, size = 3, -- 模糊强度 passes = 1, -- 模糊迭代次数(性能与效果平衡) vibrancy = 0.1696, -- 色彩饱和度 }, }, animations = { enabled = true, -- 动画总开关(详细配置见 animations.lua) }, })