Files
Hyprdots/lua/conf/decoration.lua
T
2026-06-12 17:12:25 -04:00

54 lines
1.2 KiB
Lua

local M = {}
local colorscheme = require("lua.conf.colorscheme")
--local settings = require("lua.lib.settings")
M.confs = {
general = {
gaps_in = 10,
gaps_out = 14,
border_size = 2,
col = { active_border = colorscheme.accent, inactive_border = colorscheme.foreground .. "a0" },
},
group = {
col = { border_active = colorscheme.second, border_inactive = colorscheme.foreground .. "a0" },
groupbar = {
font_size = 12,
text_color = colorscheme.foreground,
height = 16,
gradients = false,
col = { active = colorscheme.teal, inactive = colorscheme.accent },
},
},
decoration = {
rounding = 12,
rounding_power = 3.0,
blur = {
enabled = true,
size = 12,
passes = 3,
noise = 0.06,
new_optimizations = true,
ignore_opacity = true,
xray = false,
popups = true,
popups_ignorealpha = 0.3,
},
active_opacity = 1.0,
inactive_opacity = 0.8,
fullscreen_opacity = 1.0,
shadow = {
enabled = true,
range = 15,
render_power = 2,
color = 0xbb000000,
offset = { 1, 1 },
},
},
}
function M.load()
hl.config(M.confs)
end
return M