risiIndustries / rtheme

0 stars 0 forks source link

rTheme stopped applying to GTK3/4 apps #2

Open tejasraman opened 1 year ago

tejasraman commented 1 year ago

@risiIndustries The rTheme accents do not seem to apply to GTK3 or GTK4 apps (they did apply when I installed the OS, but they do not apply now. I tried manually running rthemed too (/usr/bin/rthemed start) but that did nothing. I am using the default Wayland session.

image

image

RisiOS 38

Extensions (I did try disabling these):

I also have all built-in extensions (including risiGNOME) that were enabled out of the box EXCEPT for Dock from Dash

PizzaLovingNerd commented 12 months ago

Sorry for the long response... Can you please run systemctl status --user rthemed after changing the theme?

tejasraman commented 12 months ago

Sorry for the long response... Can you please run systemctl status --user rthemed after changing the theme?

If you want to know, there were no errors and rthemed runs just fine. If you need the output, I'll add it in 2 mins, I'm replying from my phone

PizzaLovingNerd commented 12 months ago

hm... 🤔

Can you show me what's in the file ~/.config/gtk4.0/gtk.css

tejasraman commented 12 months ago

Hmmm. It has nothing in it at all

Systemd process output: Screenshot from 2023-07-13 20-07-03

gtk.css for gtk4 Screenshot from 2023-07-13 20-08-08

PizzaLovingNerd commented 12 months ago

I have an idea on what it may be. Can you set the theme to either "risi" or "classic" and see if the problem still occurs. It may be not applying a theme at all to gtk because of the theme name being adwaita.

Also, if that isn't the issue, as a temporary workaround, you can apply your red accent color manually by adding

@define-color accent_color #e01b24;
@define-color accent_bg_color #e01b24;

to ~/.config/gtk3.0/gtk.css and ~/.config/gtk4.0/gtk.css

EDIT: For the workaround, after doing this, disable rTheme to prevent it being overwritten with systemctl stop --user rthemed and systemctl disable --user rthemed

tejasraman commented 12 months ago

I have an idea on what it may be. Can you set the theme to either "risi" or "classic" and see if the problem still occurs. It may be not applying a theme at all to gtk because of the theme name being adwaita.

Also, if that isn't the issue, as a temporary workaround, you can apply your red accent color manually by adding

@define-color accent_color #e01b24;
@define-color accent_bg_color #e01b24;

to ~/.config/gtk3.0/gtk.css and ~/.config/gtk4.0/gtk.css

EDIT: For the workaround, after doing this, disable rTheme to prevent it being overwritten with systemctl stop --user rthemed and systemctl disable --user rthemed

Tried that already, same thing.