I’m wondering if anyone is aware of a way to automate the process of switching to a dark icon theme when selecting “Dark Style” for GNOME; for example, automatically change the icon theme from “Flatery” to “Flatery-Dark” when choosing “Dark Style” from the GNOME panel’s settings.
I thought something like that might exist in Tweaks or as an extension, but it doesn’t appear so. “Night Theme Switcher” looks like it used to cover icon themes, but doesn’t any longer.
I have a less automated method, just using two commands as aliases for switching to light or dark theme:
alias thdark='gsettings set org.gnome.desktop.interface gtk-theme "adw-gtk3-dark" ; gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"'
alias thlight='gsettings set org.gnome.desktop.interface gtk-theme "adw-gtk3" ; gsettings set org.gnome.desktop.interface color-scheme "default"'
In the evening I run the alias for dark theme, and in daylight the light one.
Thanks for the help; I’ve been able to get it to work, despite not changing anything. I reran the systemctl --user commands again and this time it all seems to work.
Again, a really nice and elegant automated solution!