How to change Firefox theme from outside of browser without restart?
In Manage Your Themes section there are options such as Light, Dark and System. When I click on any of them, Firefox's UI changes immedeately.
Is it possible to change this setting from the command line by editing some config files or possibly some user session script, and see the effects without having to restart the browser?
When it is set to "System", how exactly does Firefox determine whether system theme is light or dark?
I'm on Debian with a gtk-based desktop.
3 comments · 67% upvoted · other discussions
The desktop sends a D-Bus message about the color-scheme change when the switch between light and dark happens. Programs listen for that. There's only values for light and dark for this from the system.