Open jorismathijssen opened 7 years ago
My only issue with implementing it like this is that it means that, when you add new screens you'd need to add an entry to that config file. That's probably not a big deal as I doubt many people are really going to be adding their own screens!
I totally agree with you, in a perfect world you want all folders in the screens directory loaded in, in a order you predefined somewhere.
Just a pull request for a order of screen option. I thought of defining the order in the config.json in the root folder. Changed the getplugins file so it scans the json and uses the values to read the plugins in the right order.
I'm still using the enable parameter for each screen. So you can still turn off screens.
Again, it is just a suggestion. Let me know what you think
[Not yet fully tested]