summaryrefslogtreecommitdiff
path: root/searx/preferences.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/preferences.py')
-rw-r--r--searx/preferences.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/searx/preferences.py b/searx/preferences.py
index 46b7b39d7..a7ecac55e 100644
--- a/searx/preferences.py
+++ b/searx/preferences.py
@@ -365,6 +365,16 @@ class Preferences:
locked=is_locked('simple_style'),
choices=['', 'auto', 'light', 'dark']
),
+ 'center_aligment': MapSetting(
+ settings['ui']['center_aligment'],
+ locked=is_locked('center_aligment'),
+ map={
+ '0': False,
+ '1': True,
+ 'False': False,
+ 'True': True
+ }
+ ),
'advanced_search': MapSetting(
settings['ui']['advanced_search'],
locked=is_locked('advanced_search'),