diff options
author | Étienne Deparis <etienne@depar.is> | 2019-01-06 18:38:51 +0100 |
---|---|---|
committer | Étienne Deparis <etienne@depar.is> | 2019-01-07 10:48:14 +0100 |
commit | 0d4d58f794fea3a4439f4ed4689e52b8031e5246 (patch) | |
tree | 1af7aeb028fa5184e6dcc4d0c066caa29cd84220 /searx/plugins | |
parent | 3c95d64ff8f5f42a69b05d721265c6e484edc451 (diff) | |
download | searxng-0d4d58f794fea3a4439f4ed4689e52b8031e5246.tar.gz searxng-0d4d58f794fea3a4439f4ed4689e52b8031e5246.zip |
[enh] Add preference section to two upstream plugins for simple theme integration
Diffstat (limited to 'searx/plugins')
-rw-r--r-- | searx/plugins/open_results_on_new_tab.py | 1 | ||||
-rw-r--r-- | searx/plugins/vim_hotkeys.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/searx/plugins/open_results_on_new_tab.py b/searx/plugins/open_results_on_new_tab.py index ae27ea277..0f06f5a56 100644 --- a/searx/plugins/open_results_on_new_tab.py +++ b/searx/plugins/open_results_on_new_tab.py @@ -20,5 +20,6 @@ description = gettext('Results are opened in the same window by default. ' 'This plugin overwrites the default behaviour to open links on new tabs/windows. ' '(JavaScript required)') default_on = False +preference_section = 'ui' js_dependencies = ('plugins/js/open_results_on_new_tab.js',) diff --git a/searx/plugins/vim_hotkeys.py b/searx/plugins/vim_hotkeys.py index 8f06f1343..47b830c79 100644 --- a/searx/plugins/vim_hotkeys.py +++ b/searx/plugins/vim_hotkeys.py @@ -5,6 +5,7 @@ description = gettext('Navigate search results with Vim-like hotkeys ' '(JavaScript required). ' 'Press "h" key on main or result page to get help.') default_on = False +preference_section = 'ui' js_dependencies = ('plugins/js/vim_hotkeys.js',) css_dependencies = ('plugins/css/vim_hotkeys.css',) |