Claymont / theme-scheduler

Firefox WebExtension, a theme sheduler.
Mozilla Public License 2.0
6 stars 1 forks source link

Any idea how a Command Line interface could be attached to this? #2

Open erwin opened 1 year ago

erwin commented 1 year ago

I like to toggle light and dark on demand, rather than based on a certain time.

I have script that sets light/dark mode for most programs and the desktop environment, but no idea how to change it in Firefox without quitting / updating files and then restarting Firefox, which would be really messy at best...

Can a plugin listen on a local port or read a local file to see if it's time to switch?