diff --git a/docs/Configuration.md b/docs/Configuration.md index 914bca29..53b71a0a 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -13,7 +13,7 @@ merged with the custom configuration, so if you do not define any menus the defa The default config is included here: (do not edit use as reference) -[ks_includes/KlipperScreen.conf](/ks_includes/KlipperScreen.conf) +[ks_includes/KlipperScreen.conf](/ks_includes/default.conf) If no config file is found then a new configuration file will be created in: diff --git a/ks_includes/config.py b/ks_includes/config.py index f9590875..46638d97 100644 --- a/ks_includes/config.py +++ b/ks_includes/config.py @@ -29,7 +29,7 @@ class KlipperScreenConfig: do_not_edit_prefix = "#~#" def __init__(self, configfile, screen=None): - self.default_config_path = "%s/ks_includes/%s" % (os.getcwd(), self.configfile_name) + self.default_config_path = "%s/ks_includes/%s" % (os.getcwd(), "defaults.conf") self.config = configparser.ConfigParser() self.config_path = self.get_config_file_location(configfile) logging.debug("Config path location: %s" % self.config_path) diff --git a/ks_includes/KlipperScreen.conf b/ks_includes/defaults.conf similarity index 99% rename from ks_includes/KlipperScreen.conf rename to ks_includes/defaults.conf index b12b759c..cdabf171 100644 --- a/ks_includes/KlipperScreen.conf +++ b/ks_includes/defaults.conf @@ -216,7 +216,6 @@ name: {{ gettext('Settings') }} icon: settings panel: settings - [menu __splashscreen] name: {{ gettext('Menu') }}