]> Sergey Matveev's repositories - dotfiles.git/blobdiff - eb/.ebrc
Initial edbrowse
[dotfiles.git] / eb / .ebrc
diff --git a/eb/.ebrc b/eb/.ebrc
new file mode 100644 (file)
index 0000000..fa981d3
--- /dev/null
+++ b/eb/.ebrc
@@ -0,0 +1,114 @@
+downdir=/home/stargrave/tmp/
+jar=/tmp/.ebjar
+cachedir=/tmp/.ebcache
+cachesize=200
+webtimer=30
+
+plugin{
+    type=image/webp
+    desc=WebP
+    suffix=webp
+    content=image/webp
+    down_url
+    program=sxiv %i
+}
+
+plugin{
+    type=image/jpeg
+    desc=JPEG
+    suffix=jpg
+    content=image/jpeg
+    down_url
+    program=sxiv %i
+}
+
+plugin{
+    type=image/png
+    desc=PNG
+    suffix=png
+    content=image/png
+    down_url
+    program=sxiv %i
+}
+
+plugin{
+    type=image/jxl
+    desc=JPEG XL
+    suffix=jxl
+    content=image/jxl
+    down_url
+    program=sxiv %i
+}
+
+plugin{
+    type=application/pdf
+    desc=PDF
+    suffix=pdf
+    content=application/pdf
+    down_url
+    program=zat %i
+}
+
+function+S{
+    b https://lite.duckduckgo.com/lite/?q=~0
+    /Next Page/
+    z20
+}
+
+function+Sg{
+    b https://www.google.com/search?q=~0
+    /^{h3/
+    z20
+}
+
+function+Soid{
+    b https://oidref.com/~0
+    /^h1/
+    z20
+}
+
+function+Spy{
+    b https://pypi.org/project/~0/
+    /^h1/
+    z20
+}
+
+function+Srfc{
+    b https://tools.ietf.org/html/rfc~0
+    /^From:/
+    z40
+}
+
+function+Swe{
+    b https://en.wikipedia.org/wiki/~0
+    /^h1/
+    z40
+}
+
+function+Swr{
+    b https://ru.wikipedia.org/wiki/~0
+    /^h1/
+    z40
+}
+
+function+Scroll{
+    +,+20n
+    if(?) {
+        +,$n
+        if(?) {
+            0<Scroll
+        }
+    }
+}
+
+function:init{
+    db0
+    hf
+    ls=lt
+    showall+
+    vs+
+    endm+
+    ll2000
+    js-
+    db2
+}