I’ve been trying to rig laptop lid events to wayland/pipewire controls, and it’s sort of tricky to do this with acpid, so I put together this utility (user-acpid) to read from acpid’s socket and handle events in the context of an interactive user session: https://gitlab.com/jokeyrhyme/user-acpid-rs

There are probably better ways to do this, but maybe someone else will find this useful

I’m accepting contributions for other ACPI events that you’re interested in, or other improvements