Wait for PrepareForSleep(false) before re-inhibiting
Automatically restart service on failure
Check error of releasing lock
readme: add some useful links
Fix freeze when starting a unit
Fix bogus formatting sytax
Make the aliasing explicit
Some go tools get confused otherwise.
Update README example to be safer
Only unlocks the session if swaylock exits cleanly
Block until targets are reached
And expand docs on how to make sure the locker is ready before the
target is reached.
Inhibit sleeping to ensure we have time to react
This is still imperfect; see linked article for additional upcoming
changes in v3.0.0.
Add builds badge to README
Fix lock services not stopping after waking up
Run in session.slice
From systemd.special(7):
> session.slice
> All essential services and applications required for the session should use
> this slice. These are services that either cannot be restarted easily or where
> latency issues may affect the interactivity of the system and applications.
> This includes the display server, screen readers and other services such as
> DBus or XDG portals. Such services should be configured to be part of this
> slice by adding Slice=session.slice to their unit files.