diff --git a/README.org b/README.org index c2a504e..56cebcf 100644 --- a/README.org +++ b/README.org @@ -42,7 +42,7 @@ This is a short guide on how to correctly configure wallman. Look in the sample First of all, the config file is structured via different TOML dictionaries. There are two TOML dictionaries: general and changing_times that must be present in every config. Aside from that, further dictionaries are needed depending on how wallman is configured. You need to create a dictionary with the name of each wallpaper set defined in the used_sets list (more on that later). You should probably just configure wallman by editing the sample config as it is by far the easiest way to do it. *** general In general, you need to always define 3 variables and you can optionally add one more: -+ enabled: bool ++ enable_wallpaper_sets: bool A simple switch that states if you want to use different sets of wallpapers or not. + used_sets: list A list that includes the names of the wallpaper sets you want to use. If you want to use only one, the list should have one entry. diff --git a/sample_config.toml b/sample_config.toml index bdd8ace..4acfd17 100644 --- a/sample_config.toml +++ b/sample_config.toml @@ -1,10 +1,10 @@ # Here, define if you want to use different sets of wallpapers, and if yes, # what those sets are called and how many wallpapers are included per set. [general] -enabled = true +enable_wallpaper_sets = true used_sets = ["anime", "nature"] wallpapers_per_set = 5 -notify = false +notify = False # Enter the hours at which you want the wallpaper to change. # If the script is called between one of this times, it will go back to the previous time. diff --git a/wallman_lib.py b/wallman_lib.py index 5c0b8f1..19d573a 100644 --- a/wallman_lib.py +++ b/wallman_lib.py @@ -33,7 +33,7 @@ class _ConfigLib: self.config_general: dict = self.config_file["general"] self.config_changing_times: dict = self.config_file["changing_times"] # Values in Dicts - self.config_wallpaper_sets_enabled: bool = self.config_general["enabled"] + self.config_wallpaper_sets_enabled: bool = self.config_general["enable_wallpaper_sets"] self.config_used_sets: list = self.config_general["used_sets"] self.config_wallpapers_per_set: int = self.config_general["wallpapers_per_set"] self.config_total_changing_times: int = len(self.config_changing_times)