Merge remote-tracking branch 'upstream/dev' into theme_switcher
This commit is contained in:
@@ -20,6 +20,7 @@ type searchWidget struct {
|
||||
SearchEngine string `yaml:"search-engine"`
|
||||
Bangs []SearchBang `yaml:"bangs"`
|
||||
NewTab bool `yaml:"new-tab"`
|
||||
Target string `yaml:"target"`
|
||||
Autofocus bool `yaml:"autofocus"`
|
||||
Placeholder string `yaml:"placeholder"`
|
||||
}
|
||||
@@ -33,6 +34,10 @@ func convertSearchUrl(url string) string {
|
||||
var searchEngines = map[string]string{
|
||||
"duckduckgo": "https://duckduckgo.com/?q={QUERY}",
|
||||
"google": "https://www.google.com/search?q={QUERY}",
|
||||
"bing": "https://www.bing.com/search?q={QUERY}",
|
||||
"perplexity": "https://www.perplexity.ai/search?q={QUERY}",
|
||||
"kagi": "https://kagi.com/search?q={QUERY}",
|
||||
"startpage": "https://www.startpage.com/search?q={QUERY}",
|
||||
}
|
||||
|
||||
func (widget *searchWidget) initialize() error {
|
||||
|
||||
Reference in New Issue
Block a user