add swayprop

This commit is contained in:
2025-06-26 19:01:39 +02:00
parent 7829af72ac
commit 8741765c2d
9 changed files with 848 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
PREFIX ?= /usr
BINDIR ?= $(PREFIX)/bin
SHAREDIR ?= $(PREFIX)/share/hyprprop
install: event_handler hyprprop
@install -Dm644 event_handler --target-directory "$(SHAREDIR)"
@sed 's|^EVENT_HANDLER=.*|EVENT_HANDLER="$(SHAREDIR)/event_handler"|' hyprprop \
| install -Dm755 /dev/stdin "$(BINDIR)/hyprprop"