#gtk themes not applied properly

37 messages · Page 1 of 1 (latest)

lament raft
#

not sure if this is meant to be here but anyways

i have a gtk theme (rose-pine-moon-gtk) that i set using gsettings, along with prefer-dark set

for some reason, some apps have the right theme (see right) but others have light mode still (left side). some also have a mix: the top title bar follows the theme, but the main content is in light mode. anyone have any ideas why?

fierce ridge
#

how are you applying the theme

lament raft
# fierce ridge how are you applying the theme

exec = gsettings set org.gnome.desktop.interface gtk-theme "rose-pine-moon-gtk"
exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
i have these two lines in my hyprland conf

#

i tried running overskride (left) with GTK_THEME="rose-pine-moon-gtk" set, but now the background is transparent for some reason

fierce ridge
#

what application is on the left?

lament raft
#

its a bluetooth thing

fierce ridge
#

is that a flatpak?

lament raft
#

no its from aur

fierce ridge
#

okay```
pacman -Qsq gtk4

lament raft
fierce ridge
#

wait

pacman -Qsq adwaita
lament raft
fierce ridge
#

okay all is in order

#

unset GTK_THEME and run overskride, show me the screenshot

#

you can do that with ```
unset GTK_THEME
overskride

lament raft
#

if i run from command line it has the theme

#

but not when i use my application launcher

#

interesting

fierce ridge
#

unset GTK_THEME globally

lament raft
#

if i open a new terminal and echo GTK_THEME its already empty

#

ok i think i got it

fierce ridge
#

hm... maybe check the .desktop file of overskride

lament raft
#

well for overskride

#

for some reason i set the gtk theme in my rofi launch script

fierce ridge
#

yay, you found it 😄

lament raft
#

hmm some other gtk doesnt work

#

but i think thats with gtk 3

#

lmao gnome disk utility works when i set GTK_THEME and doesnt work when i dont

#

isnt that terrific

lament raft
#

idk what i managed to do but something is broken again

#

when i open stuff it defaults to the default dark mode (adwaita probably)

#

i can get it to use the correct theme if i go into inspector and manually change it

#

but i also have to diasble dark mode

lament raft
#

nvm i fixed it lmao