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 2e544f1919dce9e38a8a95f1c92a97bd6a1120d7
parent 48fecd876ac558ad71fa38f622618901aec5fb7b
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon,  7 Sep 2020 09:25:43 +0200

Add back hiltjo's idiotbox http interface

Diffstat:
M.local/bin/search | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.local/bin/search b/.local/bin/search @@ -78,7 +78,8 @@ elif regeximatch "$c" '!yt'; then #else #plumb "https://codemadness.org/idiotbox/?q=${q}&o=relevance&m=Dark" #fi - plumb "gopher://git.codemadness.org/7/youtube.cgi ${q}" + #plumb "gopher://git.codemadness.org/7/youtube.cgi ${q}" + plumb "https://codemadness.org/idiotbox/?q=${q}&o=relevance&m=Dark" elif regexmatch "$c" ' '; then 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"