physlock
physlock copied to clipboard
Fix issue #97 with very basic signal handling
This allows a fix for #97. Users can enable signal handling with the -w flag. When enabled, physlock waits until it receives a SIGUSR1 before prompting for authentication. Therefore, users can send the signal after resume (via a systemd service, acpi event handler, etc.), avoiding the I/O buffer problem.