dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 2d531be8d8f2942c1829149258bb768eb2f4b872
parent a4c7ba67baf1f4407811f75392958fcc49bc40ad
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 23 Nov 2020 22:27:28 +0100

search: open image searches with JS enabled

Diffstat:
M.local/bin/search | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/.local/bin/search b/.local/bin/search @@ -85,6 +85,7 @@ elif regeximatch "$c" '!yt'; then plumb "https://codemadness.org/idiotbox/?q=${q}&o=relevance&m=Dark" elif regexmatch "$c" ' '; then + regexmatch "$c" '!i' && export SURFFLAGS=-S plumb "https://duckduckgo.com/lite?q=$(printf '%s' "$c" | sed 's/+/%2b/g;s/&/%26/g;s/ /%20/g')&kad=en_US&kp=-2&kc=-1&kae=d&k1=-1&kk=-1&kam=osm&kaj=m&kv=-1&kak=-1&kax=-1&kaq=-1&kap=-1&kao=-1&kau=-1&kg=p&kd=-1&kac=-1" else plumb "http://${c}"