jadboy20 / wallpaper-changer

Changes desktop background
1 stars 0 forks source link

Have variable cycle speed defined by a configuration file #3

Open jadboy20 opened 5 years ago

jadboy20 commented 5 years ago

The configuration file should be something that is stored in the directory that the script is run from.

Maybe use a JSON file for now. Would be the easiest way to store a configuration.

jadboy20 commented 5 years ago

Make sure that this configuration file is scale-able. It needs to be able to be expanded. For instance, if reading the configuration file, if a parameter is no longer supported, it shouldn't crash the program. It should maybe make a note of it, that it read the configuration and no longer supports that parameter, but it shouldn't crash the program. This can be simplified to the below process:

  1. Encounter stale parameter
  2. Print to the console that the parameter is stale and say is no longer supported in this version
  3. Continue on.