elParaguayo / RPi-InfoScreen-Kivy

Improved version of info screen using Kivy. NOTE: This project is no longer actively maintained.
GNU General Public License v3.0
58 stars 25 forks source link

Suggestion for option to define the order of screens #87

Open jorismathijssen opened 7 years ago

jorismathijssen commented 7 years ago

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]

elParaguayo commented 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!

jorismathijssen commented 7 years ago

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.