-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
ReGreet not using GTK or cursor theme #690
Comments
Cc: @Mikilio |
Currently Regreet is only themed by copying the configuration for GTK and applying it to Regreet. If that is not working then it means there is a good reason to create a mustache file for regreet only. If I am to do that I'd like to do it properly, so it takes me more than just a few minutes. |
Waiting for NixOS/nixpkgs#367520 to close so I can use demo mode instead of rebooting to see a css. |
I can't reproduce the issue. After taking a look at the code again, I realized that I specified fonts icons and cursor using nixos options. @yazoink, can you maybe send me the stylix related options you are using? |
Here and here are my stylix options and this is how I set up regreet (after I found that the theme wouldn't apply without any extra CSS passed to it I tried a few different ways of trying to get it to work like passing the generated gtk.css directly to regreet, as well as what I have currently but nothing has worked). |
A few infos I'd like to provide in advance:
To follow up, I recommend removing the clutter from your configuration and tweaking If it does not change your font, I believe you will be forced to debug this using |
It's not being themed even without the
|
Thank you for your patience! I was able to find the error, it seems my regreet was being styled by GTK through importing correct environment variables, not through extraCss. As a tip for your config, I would recommend removing everything under |
Even without the above change, Regreet will be themed with the global GTK settings, if use the default value for It will set up the dbus environment which will firstly prevent a known issue affecting ReGreet. I could still not replicate your issue with fonts. |
It's using the correct cursor theme and font now but the GTK theme still isn't working. This is my current config for regreet/greetd: programs.regreet = {
enable = true;
}; Am I missing something? |
To rule out that it is some light or dark mode issue, it would be helpful if you could try the PR. It should also get merged soon. |
Respect the stylix.polarity option and unset programs.regreet.extraCss to enable custom styling. This partially resolves the "ReGreet not using GTK or cursor theme" [1] issue. [1]: #690 Link: #723 Reviewed-by: NAHO <[email protected]>
Respect the stylix.polarity option and unset programs.regreet.extraCss to enable custom styling. This partially resolves the "ReGreet not using GTK or cursor theme" [1] issue. [1]: #690 Link: #723 Reviewed-by: NAHO <[email protected]> (cherry picked from commit 5c84f02)
Respect the stylix.polarity option and unset programs.regreet.extraCss to enable custom styling. This partially resolves the "ReGreet not using GTK or cursor theme" [1] issue. [1]: #690 Link: #723 Reviewed-by: NAHO <[email protected]> (cherry picked from commit 5c84f02)
It's using the correct font and wallpaper but the GTK colors and cursor theme have not been applied.
Edit: on further inspection, it's not using the correct font
The text was updated successfully, but these errors were encountered: