2 ms·
I’ve just been using a wristband made out of cheap headphones plugged into a 3.5mm jack, acpi event triggers the shutdown.
by ryanlol 5y ago
I’ve just been using a wristband made out of cheap headphones plugged into a 3.5mm jack, acpi event triggers the shutdown.
- maltfield 5y agoHow does that work? Can you use udev to call a script on an acpi event? Is it cross-platform? Would love to see a write-up with more info on how to do this :)
- ryanlol 5y agoacpid is probably the easiest way to accomplish this https://wiki.archlinux.org/title/acpid https://wiki.archlinux.org/title/acpid