JaKooLit / Hyprland-Dots

Hyprland dotfiles - used as main repo for all my Hyprland Install Scripts.
GNU General Public License v3.0
909 stars 121 forks source link

[Feature Request]: Apply theming to GTK4/GNOME 45 apps #180

Closed JohnRTitor closed 5 months ago

JohnRTitor commented 6 months ago

Feature Request

Currently themes like Tokyo Night and Cappachino are not being applied to GNOME 45 apps like Nautilus. And Chrome (with GTK on) do not respect the theme like Firefox does.

Proposed Solution

For GTK4 apps, include a theme so they can get the blur and transparent look.

JohnRTitor commented 6 months ago

Note: For GTK4 apps, one needs to force a particular theme using GTK_THEME env var, or use a patched version of libadwaita. See GTK on Arch Wiki.

I tested and this breaks dynamic switching between dark/light mode and other themes, since changing system environment variables mid session is not possible. It needs at least a relogin.

Unless @JaKooLit can figure out other means..

JaKooLit commented 6 months ago

Note: For GTK4 apps, one needs to force a particular theme using GTK_THEME env var, or use a patched version of libadwaita. See GTK on Arch Wiki.

I tested and this breaks dynamic switching between dark/light mode and other themes, since changing system environment variables mid session is not possible. It needs at least a relogin.

Unless @JaKooLit can figure out other means..

gtk4 apps has been quite challenging to apply the 3rd party themes tbh...

JohnRTitor commented 6 months ago

An alternative solution would be to use a "neutral theme" which would look good on both light and dark mode. But that won't be possible :(

On another note, for QT apps, I still see some uneven "non" rounded corner UI elements, can you check that perhaps

dhelgerson commented 5 months ago

white-sur gtk has this solved. you could look into how they did it

JohnRTitor commented 5 months ago

You mean this? Like I said earlier, it's possible to theme GTK 4 apps, but it will break switching to other themes and switching dark/light mode without a logout/restart.