danth / stylix

System-wide colorscheming and typography for NixOS
https://stylix.danth.me/
MIT License
1.04k stars 123 forks source link

FlatPak PrusaSlicer doesn't get styled #465

Open dzervas opened 1 month ago

dzervas commented 1 month ago

I'm not sure if this is a problem with flatpak or PrusaSlicer specifically but it doesn't get styled:

image

(My theme is snazzy, a dark one)

I'm using sway with GTK enabled (Qt theming is broken)

danth commented 1 month ago

Is this a GTK application? If not, we will need to write a specific module to theme it. If it is, it may be overriding the system theme with its own theme. Also, as far as I know, Flatpak isolates apps from the rest of the system, which may prevent it from accessing config provided by Stylix.

dzervas commented 1 month ago

PrusaSlicer uses GTK but my question was more towards flatpak in general - is there the ability to "export" the gtk and qt themes to flatpak?

danth commented 1 month ago

I'm not familiar with the details of Flatpak, but if you can somehow make ~/.config/gtk-3.0 and ~/.config/gtk-4.0 visible to the app then it should pick up the theme.