From 5ec9eb8030b0522c4dd35db41466169bc46f11d8 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Wed, 29 Dec 2021 14:49:06 +0100 Subject: [PATCH] [mod] switch default theme from oscar to simple Signed-off-by: Markus Heiser --- searx/settings.yml | 2 +- searx/settings_defaults.py | 2 +- searxng_extra/standalone_searx.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/searx/settings.yml b/searx/settings.yml index cec9889b2..69dc69572 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -76,7 +76,7 @@ ui: # it decreases the privacy, since the browser can records the page titles. query_in_title: false # ui theme - default_theme: oscar + default_theme: simple # Default interface locale - leave blank to detect from browser information or # use codes from the 'locales' config section default_locale: "" diff --git a/searx/settings_defaults.py b/searx/settings_defaults.py index 15b4524c6..6808b0957 100644 --- a/searx/settings_defaults.py +++ b/searx/settings_defaults.py @@ -177,7 +177,7 @@ SCHEMA = { 'ui': { 'static_path': SettingsDirectoryValue(str, os.path.join(searx_dir, 'static')), 'templates_path': SettingsDirectoryValue(str, os.path.join(searx_dir, 'templates')), - 'default_theme': SettingsValue(str, 'oscar'), + 'default_theme': SettingsValue(str, 'simple'), 'default_locale': SettingsValue(str, ''), 'theme_args': { 'oscar_style': SettingsValue(OSCAR_STYLE, 'logicodev'), diff --git a/searxng_extra/standalone_searx.py b/searxng_extra/standalone_searx.py index baf8db0b4..0a1e18846 100755 --- a/searxng_extra/standalone_searx.py +++ b/searxng_extra/standalone_searx.py @@ -105,7 +105,7 @@ def get_search_query( "language": args.lang, "time_range": args.timerange, } - preferences = searx.preferences.Preferences(['oscar'], engine_categories, searx.engines.engines, []) + preferences = searx.preferences.Preferences(['simple'], engine_categories, searx.engines.engines, []) preferences.key_value_settings['safesearch'].parse(args.safesearch) search_query = searx.webadapter.get_search_query_from_webapp(preferences, form)[0]