Different searx theme
This commit is contained in:
parent
1661558583
commit
79b2dec434
|
@ -114,7 +114,7 @@ function create_searx_config {
|
||||||
echo '' >> $settings_file
|
echo '' >> $settings_file
|
||||||
echo 'ui:' >> $settings_file
|
echo 'ui:' >> $settings_file
|
||||||
echo ' themes_path : "" # Custom ui themes path' >> $settings_file
|
echo ' themes_path : "" # Custom ui themes path' >> $settings_file
|
||||||
echo ' default_theme : oscar # ui theme' >> $settings_file
|
echo ' default_theme : courgette # ui theme' >> $settings_file
|
||||||
echo ' default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section' >> $settings_file
|
echo ' default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section' >> $settings_file
|
||||||
echo '' >> $settings_file
|
echo '' >> $settings_file
|
||||||
echo 'outgoing: # communication with search engines' >> $settings_file
|
echo 'outgoing: # communication with search engines' >> $settings_file
|
||||||
|
@ -159,7 +159,7 @@ function create_searx_config {
|
||||||
echo ' url_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]/@href' >> $settings_file
|
echo ' url_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]/@href' >> $settings_file
|
||||||
echo ' title_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]' >> $settings_file
|
echo ' title_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]' >> $settings_file
|
||||||
echo ' content_xpath : //article[@class="repo-summary"]/p' >> $settings_file
|
echo ' content_xpath : //article[@class="repo-summary"]/p' >> $settings_file
|
||||||
echo ' categories : it' >> $settings_file
|
echo ' categories : code' >> $settings_file
|
||||||
echo ' timeout : 4.0' >> $settings_file
|
echo ' timeout : 4.0' >> $settings_file
|
||||||
echo ' disabled : True' >> $settings_file
|
echo ' disabled : True' >> $settings_file
|
||||||
echo ' shortcut : bb' >> $settings_file
|
echo ' shortcut : bb' >> $settings_file
|
||||||
|
@ -287,7 +287,7 @@ function create_searx_config {
|
||||||
echo ' url_xpath : //li[@class="project-row"]//a[@class="project"]/@href' >> $settings_file
|
echo ' url_xpath : //li[@class="project-row"]//a[@class="project"]/@href' >> $settings_file
|
||||||
echo ' title_xpath : //li[@class="project-row"]//span[contains(@class, "project-full-name")]' >> $settings_file
|
echo ' title_xpath : //li[@class="project-row"]//span[contains(@class, "project-full-name")]' >> $settings_file
|
||||||
echo ' content_xpath : //li[@class="project-row"]//div[@class="description"]/p' >> $settings_file
|
echo ' content_xpath : //li[@class="project-row"]//div[@class="description"]/p' >> $settings_file
|
||||||
echo ' categories : it' >> $settings_file
|
echo ' categories : code' >> $settings_file
|
||||||
echo ' shortcut : gl' >> $settings_file
|
echo ' shortcut : gl' >> $settings_file
|
||||||
echo ' timeout : 5.0' >> $settings_file
|
echo ' timeout : 5.0' >> $settings_file
|
||||||
echo ' disabled : True' >> $settings_file
|
echo ' disabled : True' >> $settings_file
|
||||||
|
@ -295,6 +295,7 @@ function create_searx_config {
|
||||||
echo ' - name : github' >> $settings_file
|
echo ' - name : github' >> $settings_file
|
||||||
echo ' engine : github' >> $settings_file
|
echo ' engine : github' >> $settings_file
|
||||||
echo ' shortcut : gh' >> $settings_file
|
echo ' shortcut : gh' >> $settings_file
|
||||||
|
echo ' categories : code' >> $settings_file
|
||||||
echo '' >> $settings_file
|
echo '' >> $settings_file
|
||||||
echo ' - name : geektimes' >> $settings_file
|
echo ' - name : geektimes' >> $settings_file
|
||||||
echo ' engine : xpath' >> $settings_file
|
echo ' engine : xpath' >> $settings_file
|
||||||
|
@ -303,7 +304,7 @@ function create_searx_config {
|
||||||
echo ' url_xpath : //div[@class="search_results"]//a[@class="post__title_link"]/@href' >> $settings_file
|
echo ' url_xpath : //div[@class="search_results"]//a[@class="post__title_link"]/@href' >> $settings_file
|
||||||
echo ' title_xpath : //div[@class="search_results"]//a[@class="post__title_link"]' >> $settings_file
|
echo ' title_xpath : //div[@class="search_results"]//a[@class="post__title_link"]' >> $settings_file
|
||||||
echo ' content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]' >> $settings_file
|
echo ' content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]' >> $settings_file
|
||||||
echo ' categories : it' >> $settings_file
|
echo ' categories : code' >> $settings_file
|
||||||
echo ' timeout : 4.0' >> $settings_file
|
echo ' timeout : 4.0' >> $settings_file
|
||||||
echo ' disabled : True' >> $settings_file
|
echo ' disabled : True' >> $settings_file
|
||||||
echo ' shortcut : gt' >> $settings_file
|
echo ' shortcut : gt' >> $settings_file
|
||||||
|
@ -315,7 +316,7 @@ function create_searx_config {
|
||||||
echo ' url_xpath : //div[@class="search_results"]//a[contains(@class, "post__title_link")]/@href' >> $settings_file
|
echo ' url_xpath : //div[@class="search_results"]//a[contains(@class, "post__title_link")]/@href' >> $settings_file
|
||||||
echo ' title_xpath : //div[@class="search_results"]//a[contains(@class, "post__title_link")]' >> $settings_file
|
echo ' title_xpath : //div[@class="search_results"]//a[contains(@class, "post__title_link")]' >> $settings_file
|
||||||
echo ' content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]' >> $settings_file
|
echo ' content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]' >> $settings_file
|
||||||
echo ' categories : it' >> $settings_file
|
echo ' categories : code' >> $settings_file
|
||||||
echo ' timeout : 4.0' >> $settings_file
|
echo ' timeout : 4.0' >> $settings_file
|
||||||
echo ' disabled : True' >> $settings_file
|
echo ' disabled : True' >> $settings_file
|
||||||
echo ' shortcut : habr' >> $settings_file
|
echo ' shortcut : habr' >> $settings_file
|
||||||
|
@ -329,7 +330,7 @@ function create_searx_config {
|
||||||
echo ' title_query : self' >> $settings_file
|
echo ' title_query : self' >> $settings_file
|
||||||
echo ' content_query : docs' >> $settings_file
|
echo ' content_query : docs' >> $settings_file
|
||||||
echo ' page_size : 20' >> $settings_file
|
echo ' page_size : 20' >> $settings_file
|
||||||
echo ' categories : it' >> $settings_file
|
echo ' categories : code' >> $settings_file
|
||||||
echo ' shortcut : ho' >> $settings_file
|
echo ' shortcut : ho' >> $settings_file
|
||||||
echo '' >> $settings_file
|
echo '' >> $settings_file
|
||||||
echo ' - name : ina' >> $settings_file
|
echo ' - name : ina' >> $settings_file
|
||||||
|
@ -362,7 +363,7 @@ function create_searx_config {
|
||||||
echo ' url_xpath : .//span[@class="link"]/a/@href' >> $settings_file
|
echo ' url_xpath : .//span[@class="link"]/a/@href' >> $settings_file
|
||||||
echo ' title_xpath : .//span[@class="link"]/a' >> $settings_file
|
echo ' title_xpath : .//span[@class="link"]/a' >> $settings_file
|
||||||
echo ' content_xpath : .//a[@class="domain"]' >> $settings_file
|
echo ' content_xpath : .//a[@class="domain"]' >> $settings_file
|
||||||
echo ' categories : it' >> $settings_file
|
echo ' categories : code' >> $settings_file
|
||||||
echo ' shortcut : lo' >> $settings_file
|
echo ' shortcut : lo' >> $settings_file
|
||||||
echo '' >> $settings_file
|
echo '' >> $settings_file
|
||||||
echo ' - name : mixcloud' >> $settings_file
|
echo ' - name : mixcloud' >> $settings_file
|
||||||
|
|
Loading…
Reference in New Issue