You are not logged in.
When I change themes I always have to manually link my gtk4 theme. Never have that problem with gtk2 or 3. Just gtk4 defies all my attempts to automate. Maybe I'm not properly understanding something. What I have tried is:
ln -sf "${THEME_DIR}/gtk-4.0/assets" "${HOME}/.config/gtk-4.0/assets"
ln -sf "${THEME_DIR}/gtk-4.0/gtk.css" "${HOME}/.config/gtk-4.0/gtk.css"
ln -sf "${THEME_DIR}/gtk-4.0/gtk-dark.css" "${HOME}/.config/gtk-4.0/gtk-dark.css" This doens't do what I thought it should do. Any ideas?
Last edited by tdtooke (2023-05-08 02:39:56)
Offline
Unless you actually have the ${THEME_DIR} environment variable set somewhere you need to change that to the actual path of your theme directory. I put my themes in ${HOME}/.themes so I would use
ln -sf ~/.themes/theme_name_here/gtk-4.0/assets ~/.config/gtk-4.0/
ln -sf ~/.themes/theme_name_here/gtk-4.0/gtk.css ~/.config/gtk-4.0/
ln -sf ~/.themes/theme_name_here/gtk-4.0/gtk-dark.css ~/.config/gtk-4.0/You don't have to link the gtk-2.0 or gtk-3.0 directory, just the gtk-4.0 directory.
Offline
That answers this. From another place I managed to get the mistaken impression that this is how tweaks did it with gtk2 and gtk3. It turns out I have no such environment variable. No point in even making one if I still would have to manually set it to change themes. Thanks.
Offline