apognu / tuigreet

Graphical console greeter for greetd
GNU General Public License v3.0
986 stars 45 forks source link

Make the --time flag configurable #54

Closed fubuki4649 closed 2 years ago

fubuki4649 commented 2 years ago

It would be nice to be able to configure the layout of the time displayed by --time using a string of format codes

https://www.programiz.com/python-programming/datetime/strftime

apognu commented 2 years ago

This is implemented in a separate branch for now, because I am not fully convinced preventing launch on invalid format strings is such a good idea. But the alternative is to ignore the option in that case, which is not perfect either.

I'll think about it, but it is funtionally done and will be included in the next version.

apognu commented 2 years ago

This is now available on master.