Add hyprimate: 8 animation menu items, guard + rebuild scripts, hyprland.lua hook

This commit is contained in:
hermes committed 2026-11-23 18:39:19 +00:00
1 parent 8365865c5f
commit 5003dd72e4
12 files changed
+333

No files matched your search

+26
View File
@@ -38,6 +38,32 @@ On the other machine: `git pull && ./apply.sh`.
Only files that already exist in `config/` are collected/applied, so nothing
gets tracked by accident.
## Hyprimate (window animation plugin)
The burger-menu animation picker also offers **Hyprimate** styles (Liquid, Paper,
Cloth, Swarm, Bubble, Smoke, Burn, Construction) — a Hyprland plugin that animates
windows as they open, move and close.
Tracked here:
- `config/hypr/lua/animations/hyprimate-*.lua` — one menu item per style (user layer).
- `config/hyde/scripts/hyprimate-guard.sh` — auto-loads the plugin when a hyprimate
style is current and switches it off when a native animation is selected.
Hooked into `hyprland.lua` via `hl.exec_cmd`.
- `config/hyde/scripts/rebuild-hyprimate.sh` — rebuild after a Hyprland update.
Setup on a new machine (the plugin binary itself is NOT tracked):
```bash
git clone --depth 1 https://github.com/JustinBacher/hyprimate ~/.local/src/hyprimate
cmake -B ~/.local/src/hyprimate/build -S ~/.local/src/hyprimate -G Ninja && ninja -C ~/.local/src/hyprimate/build
hyprctl plugin load ~/.local/src/hyprimate/build/hyprimate.so
```
Then pick a Hyprimate style in the animation menu; the guard handles loading on
future boots. Note: hyprpm is an alternative installer, but it needs sudo for its
state store in `/var/cache/hyprpm/`; the manual build above avoids that.
## Notes
- `hypr/hyprland.lua` is loaded by HyDE last as the override layer. See the