From 806957ecb0000157d3b5b21b6dd82207cfb25c0e Mon Sep 17 00:00:00 2001 From: SpookyDervish <78246495+SpookyDervish@users.noreply.github.com> Date: Thu, 30 Oct 2025 19:35:33 +1100 Subject: [PATCH] removed default plugin and made a tiny change to the ui --- plugins/test/lua/main.lua | 14 -------------- plugins/test/plugin.json | 6 ------ settings.py | 2 +- 3 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 plugins/test/lua/main.lua delete mode 100644 plugins/test/plugin.json diff --git a/plugins/test/lua/main.lua b/plugins/test/lua/main.lua deleted file mode 100644 index bf2430f..0000000 --- a/plugins/test/lua/main.lua +++ /dev/null @@ -1,14 +0,0 @@ -local plugin = {} - -function test(newValue) - berry.ui.notify(tostring(newValue)) -end - -function plugin.run() - berry.config.defineSetting("Test Plugin", "test setting", "this is a description", "string", "hi, this is the default value", test) - berry.config.defineSetting("Test Plugin", "another setting!", "woah!", "boolean", "1", test) - berry.config.defineSetting("Test Plugin", "integer setting", "i love integers :O", "integer", "123", test) - berry.config.defineSetting("Test Plugin", "float setting", "i love floating point numbers :O", "float", "123.456", test) -end - -return plugin \ No newline at end of file diff --git a/plugins/test/plugin.json b/plugins/test/plugin.json deleted file mode 100644 index 8d31c5f..0000000 --- a/plugins/test/plugin.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "Test Plugin", - "version": "1.0.0", - "author": "SpookyDervish", - "dependencies": [] -} \ No newline at end of file diff --git a/settings.py b/settings.py index 6d31ec3..9b59ddc 100644 --- a/settings.py +++ b/settings.py @@ -144,7 +144,7 @@ class SettingsScreen(ModalScreen): yield Input(value=self.app.config_handler.get("plugins", "log_timeout"), id="log-timeout", type="integer") yield Static("Plugin-defined Settings", classes="thingy") - yield Rule(line_style="thick") + yield Rule(line_style="double") for plugin_section, plugin_settings in self.app.config_handler.plugin_defined_settings.items(): yield Static(f"{plugin_section}", classes="thingy")