about summary refs log tree commit diff stats
path: root/res/config.toml
diff options
context:
space:
mode:
Diffstat (limited to 'res/config.toml')
-rw-r--r--res/config.toml10
1 files changed, 3 insertions, 7 deletions
diff --git a/res/config.toml b/res/config.toml
index af4a0dc9..af502275 100644
--- a/res/config.toml
+++ b/res/config.toml
@@ -18,13 +18,9 @@ double-width-ambiguous = false
 minimum-contrast = 100
 force-clear = false
 
-[[siteconf]]
-url = '^ddg:'
-substitute_url = '(x) => "https://lite.duckduckgo.com/lite/?kp=-1&kd=-1&q=" + x.substring(4)'
-
-[[siteconf]]
-url = '^wk:'
-substitute_url = '(x) => "https://en.wikipedia.org/wiki/Special:Search?search=" + x.substring(4)'
+[[omnirule]]
+match = '^ddg:'
+substitute-url = '(x) => "https://lite.duckduckgo.com/lite/?kp=-1&kd=-1&q=" + x.substring(4)'
 
 [page]
 q = 'quit()'