32 lines
974 B
Lua
32 lines
974 B
Lua
-- Hyprimate · Paper — plugin-driven window animation.
|
|
-- User-layer animation item: picked from the HyDE burger-menu / SUPER+SHIFT+Y.
|
|
-- Requires the hyprimate plugin (hyprpm). The file is inert for the menu scan
|
|
-- (no `hl`); it only applies settings when HyDE loads it as the current
|
|
-- animation. The hyprimate guard in ~/.config/hypr/hyprland.lua switches the
|
|
-- plugin off again when a native animation is selected.
|
|
|
|
local animation = {
|
|
name = "Hyprimate · Paper",
|
|
icon = "",
|
|
description = "Hyprimate: windows crumple and unfold like paper."
|
|
}
|
|
|
|
if not hl then
|
|
return animation
|
|
end
|
|
|
|
hl.config({
|
|
decoration = { wobble = { enabled = false } },
|
|
plugin = {
|
|
["hyprimate"] = {
|
|
window = {
|
|
enabled = true,
|
|
style = "paper",
|
|
open = { enabled = true },
|
|
close = { enabled = true },
|
|
movement = { enabled = true },
|
|
},
|
|
},
|
|
},
|
|
})
|