Allow to lock the screen on power button press
phosh 0.25 split the handling of screen blanking and screen locking, which introduced delayed screen locking after blank. This is great for automatic blank due to inactivity, but clashes with power button usage.
Whenever I use the power button, my intent is to blank and lock the device. When I press the button again soon after, I want to see the lockscreen. The only way I'm aware of that lets me achieve that is to disable lock-delay
, but this also disables delay on automatic blank, which is not what I want to do.
Edited by Sebastian Krzyszkowiak