Add hyprimate: 8 animation menu items, guard + rebuild scripts, hyprland.lua hook
This commit is contained in:
1 parent
8365865c5f
commit
5003dd72e4
12 files changed
+333
No files matched your search
@@ -0,0 +1,31 @@
|
||||
-- Hyprimate · Swarm — 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 · Swarm",
|
||||
icon = "",
|
||||
description = "Hyprimate: windows scatter into creatures and regroup."
|
||||
}
|
||||
|
||||
if not hl then
|
||||
return animation
|
||||
end
|
||||
|
||||
hl.config({
|
||||
decoration = { wobble = { enabled = false } },
|
||||
plugin = {
|
||||
["hyprimate"] = {
|
||||
window = {
|
||||
enabled = true,
|
||||
style = "swarm",
|
||||
open = { enabled = true },
|
||||
close = { enabled = true },
|
||||
movement = { enabled = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in new issue
Block a user