greetd: save and restore previously started session
This commit adds the ability to save the session ID into a file every time a session is successfully started. This file is read on startup so this session can be selected by default. Requirement: a `/var/lib/phog` folder must exist and be writeable by whatever user `greetd` runs as.
Please register or sign in to comment