31 lines
497 B
Lua
31 lines
497 B
Lua
local curves = require("lua.animations.curves")
|
|
local M = {}
|
|
|
|
M.animations = {
|
|
{
|
|
leaf = "windows",
|
|
enabled = true,
|
|
speed = 1,
|
|
spring = "rubber",
|
|
style = "slide",
|
|
},
|
|
{
|
|
leaf = "workspaces",
|
|
enabled = true,
|
|
speed = 8,
|
|
spring = "rubber",
|
|
},
|
|
}
|
|
|
|
function M.load()
|
|
for _, curve_item in pairs(curves.curves) do
|
|
hl.curve(curve_item.name, curve_item.curve)
|
|
end
|
|
|
|
for _, animation in pairs(M.animations) do
|
|
hl.animation(animation)
|
|
end
|
|
end
|
|
|
|
return M
|