Closed shreve closed 3 years ago
Would be very cool to see this merged in, it would be perfect to allow pywal themes to be applied to the greeter.
I tried to build this however, and could not get the config from my .config
directory to be read. Perhaps I was holding it wrong?
Side note: I wonder if this should check XDG_CONFIG_HOME
too?
You can symlink the config file to your home directory instead, see: https://github.com/prikhi/lightdm-mini-greeter#config-file-in-home
Addresses #18
The majority of this PR transforms the config code into conditional assignment methods, which will only set a value if it actually read one. This allows us to check either config file for a value, then set fallback values at the end.
This will now try to read any config values from the old location in
/etc/lightdm
as well as/home/$login_user/.config/
.