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
Regular → Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
# Rebuild hyprimate after a Hyprland update (plugins are ABI-locked to the
|
||||
# compositor version). Run this in a terminal after `pacman -Syu` bumps
|
||||
# hyprland, then restart Hyprland if the plugin was loaded.
|
||||
set -eu
|
||||
cd "$HOME/.local/src/hyprimate"
|
||||
git pull --ff-only
|
||||
cmake -B build -G Ninja
|
||||
ninja -C build
|
||||
# hot-swap if loaded
|
||||
if hyprctl plugins list 2>/dev/null | grep -q hyprimate; then
|
||||
hyprctl plugin unload "$PWD/build/hyprimate.so" >/dev/null 2>&1 || true
|
||||
hyprctl plugin load "$PWD/build/hyprimate.so" >/dev/null 2>&1 || true
|
||||
fi
|
||||
echo "hyprimate rebuilt: $(ls -la build/hyprimate.so)"
|
||||
Reference in new issue
Block a user