diff options
author | Alexandre Flament <alex@al-f.net> | 2022-06-05 21:39:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-05 21:39:58 +0200 |
commit | f8f6b95d8faa83507b955a4949c4c6253538ede0 (patch) | |
tree | 11d19da6e2f45a0c0d69d98c9dfbb8928a9be4ee /searx/preferences.py | |
parent | 0ce9d9e893b37f8341d61564975b36b8af25e247 (diff) | |
parent | 2c62360e6e13e427342260dd72880179b55fa3c8 (diff) | |
download | searxng-f8f6b95d8faa83507b955a4949c4c6253538ede0.tar.gz searxng-f8f6b95d8faa83507b955a4949c4c6253538ede0.zip |
Merge pull request #1281 from dalf/style-center
Theme: add a preference to center the results
Diffstat (limited to 'searx/preferences.py')
-rw-r--r-- | searx/preferences.py | 10 |
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'), |