Add other search engine for image-search and simulate-simulator. - annna - Annn… | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 5a1bff646a36df1a164f54300d1369e1c6bed29a | |
parent dd54c132958b2e6528fcd959b8035fe8720152ee | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Sat, 29 Jun 2024 16:18:36 +0200 | |
Add other search engine for image-search and simulate-simulator. | |
Diffstat: | |
M image-search | 3 ++- | |
M simulate-simulator | 5 +++++ | |
2 files changed, 7 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/image-search b/image-search | |
@@ -1,5 +1,6 @@ | |
#!/bin/sh | |
-searxbase="https://search.stinpriza.org" | |
+ | |
+searxbase="https://baresearch.org" | |
maxtries=10 | |
die() { | |
diff --git a/simulate-simulator b/simulate-simulator | |
@@ -14,6 +14,11 @@ do | |
then | |
die "could not find a image for '$q'" | |
fi | |
+ if [ -z "${img}" ]; | |
+ then | |
+ die "could not find a image for '$q'" | |
+ fi | |
+ | |
out="${img%.*}-simulator.jpg" | |
convert -gravity NorthWest \ | |
-font "Helvetica-Narrow-Oblique" -pointsize 70 \ |