|
Took me forever but I figured out how to use udev rules to give xautolock
permission to see the yubi when unlocking.
Also triggers a systemd service that locks the screen when yubi is removed. I
couldn't do this directly in a udev RUN becaues udev sucks at running programs
as different users and with environment variables and such.
This is still a bit buggy, I seem to consistently need to authenticate twice
when unlocking, but I think that would be fixed if I get rid of the
serviceConfig.User thing with some fancy scripting.
And as a backup, added Super+Shift+L for manual locking.
|