lightdm-tiny-greeter icon indicating copy to clipboard operation
lightdm-tiny-greeter copied to clipboard

Default User Patch

Open boogie666 opened this issue 4 years ago • 2 comments

This isn't really an issue, but not sure where else to add this :P

I've created a patch for this (since it is the suckless way :P) to enable a default user... (i.e prefilling the username box on login)

there's a new prop in config.h called default_user, just set that to a username and presto, no need to type a username anymore as it will be prefilled, just hit enter and type the password :P

If anybody is interested here it is https://gist.github.com/boogie666/0d56f23642343f4223a3c884ef590447

boogie666 avatar Jan 10 '20 13:01 boogie666

Thank you for your contribution. Nice little patch :) maybe we could make a default-user branch out if it so people can just checkout and compile the branch they like?

tobiohlala avatar Jan 20 '20 23:01 tobiohlala

or, even better, prompt if the default_user variable does not exist or is empty and fill in the user name by default if it isn’t ? I would welcome a PR! :)

tobiohlala avatar Jan 20 '20 23:01 tobiohlala