-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preview / demo mode & CSS documentation #30
Comments
Good idea, a demo mode would also help in development. I guess I can try to somehow mock greetd in the codebase with the demo mode.
Could you tell me why? Is it because the inspector doesn't work with it, or is it because it would also provide more features?
Not really, I didn't make any, since it's just like any other GTK app. If you want to see the GTK structure, just see src/gui/templates.rs. Specifically, these lines: Lines 32 to 221 in 0fb4245
|
Sorry, I didn't meant it like this - regreet would stay on top of the inspector so one can't use it. |
Ah, so you mean that the demo mode should "disable" layer shell? Well, ReGreet doesn't use layer shell; it's just a normal window that's fullscreen. I develop ReGreet on an X11 desktop (although Wayland might also work, but I haven't tested it) by running it through the command line. It spawns a fullscreen window, which I can reduce to a normal window using my window manager. Then I can access the inspector. The demo mode I'm thinking of should allow one to use all ReGreet features - like showing the list of (dummy) usernames/sessions, enter (dummy) passwords, etc. - without actually contacting greetd. |
Oh, didn't know!
How do you connect to greetd when running as another user? I've been trying to figure this out. |
I just run ReGreet as the sudo -Eu greeter regreet The |
tried this, just got
|
Since I can't run regreet without greetd, it's hard to run regreet with
GTK_DEBUG=inspector
and poke around to see what can be customized. Adding a demo mode would really help.I realized that this program needs layer shell. Even if the inspector is started, I cannot interact with it (that's the whole point!). Are there extra documentation on how to theme regreet in CSS?
The text was updated successfully, but these errors were encountered: