prikhi / lightdm-mini-greeter

A Minimal, Configurable, Single-User GTK3 LightDM Greeter
GNU General Public License v3.0
541 stars 48 forks source link

Display the Time, User, Hostname, & Session #46

Closed parmort closed 3 years ago

parmort commented 5 years ago

I'm not sure if this would fit in with the minimalism, but I think it might be cool to implement a clock. I would do it myself, but I don't know C well enough to implement this feature.

prikhi commented 4 years ago

I've thought about something like this, especially some static text like <user>@<hostname>: <session>.

I get hung up on the endless configuration options though: toggle for hiding it, different colors for each element, custom template string(e.g., if you only want to show the user or change the @ or :), separate font type & styles, position in the main window, alignment, etc...

Curious if others would want something like this as well and what sort of configuration is desired.

mortezadadgar commented 4 years ago

a simple text to show clock would be nice!

prikhi commented 3 years ago

bit of code to show a clock: https://github.com/Xesar/lightdm-mini-greeter/commit/745152720cb5202e9b71ea9f871869d675c762f2

prikhi commented 3 years ago

bd96d1d800e2e025d23755a7d5e2ae770653f8bf added a show-sys-info config option that renders the user, hostname, & current time. Light customization is supported - font, size, spacing, & color. Opened #78 for feedback on other customizations.

prikhi commented 3 years ago

2021-10-06-012323_370x148_scrot