Compare commits
4
Commits
3bdc58986d
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9238f31283 | ||
|
|
3a1978af0f | ||
|
|
2ef9ffb97d | ||
|
|
dcde727a5a |
No files matched your search
@@ -13,8 +13,8 @@ M.curves = {
|
||||
curve = {
|
||||
type = "spring",
|
||||
mass = 1,
|
||||
stiffness = 50,
|
||||
dampening = 8,
|
||||
stiffness = 500,
|
||||
dampening = 20,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ M.confs = {
|
||||
vrr = 3,
|
||||
enable_swallow = true,
|
||||
swallow_regex = "^(kitty|Alacritty)$",
|
||||
swallow_exception_regex = "^(arch-run steam)$",
|
||||
background_color = colorscheme.background,
|
||||
font_family = settings["font_family"],
|
||||
},
|
||||
|
||||
@@ -40,6 +40,13 @@ function M.list_extend(dst, src)
|
||||
return dst
|
||||
end
|
||||
|
||||
function M.tbl_extend(dst, src)
|
||||
for key, value in pairs(src) do
|
||||
dst[key] = value
|
||||
end
|
||||
return dst
|
||||
end
|
||||
|
||||
local function deepcopy(value, seen)
|
||||
if type(value) ~= "table" then
|
||||
return value
|
||||
|
||||
@@ -41,7 +41,13 @@ M.envs = {}
|
||||
M.windowrules = {}
|
||||
|
||||
local function collect_modules_prop(module, prop)
|
||||
if module[prop] then
|
||||
if not module[prop] then
|
||||
return
|
||||
end
|
||||
|
||||
if prop == "envs" then
|
||||
M[prop] = utils.tbl_extend(M[prop], module[prop])
|
||||
else
|
||||
M[prop] = utils.list_extend(M[prop], module[prop])
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user