summaryrefslogtreecommitdiff
path: root/.config/surfraw/elvi/opendir_images
diff options
context:
space:
mode:
authorVito Graffagnino <vito@graffagnino.xyz>2020-09-08 18:10:49 +0100
committerVito Graffagnino <vito@graffagnino.xyz>2020-09-08 18:10:49 +0100
commit3b0142cedcde39e4c2097ecd916a870a3ced5ec6 (patch)
tree2116c49a845dfc0945778f2aa3e2118d72be428b /.config/surfraw/elvi/opendir_images
parent8cc927e930d5b6aafe3e9862a61e81705479a1b4 (diff)
Added the relevent parts of the .config directory. Alss add ssh config
Diffstat (limited to '.config/surfraw/elvi/opendir_images')
-rwxr-xr-x.config/surfraw/elvi/opendir_images44
1 files changed, 44 insertions, 0 deletions
diff --git a/.config/surfraw/elvi/opendir_images b/.config/surfraw/elvi/opendir_images
new file mode 100755
index 0000000..b70e750
--- /dev/null
+++ b/.config/surfraw/elvi/opendir_images
@@ -0,0 +1,44 @@
+#!/bin/sh
+# ______ _ _ ______ _______ ______ _______ _ _ _
+# / _____)(_) (_)(_____ \ (_______)(_____ \ (_______)(_)(_)(_)
+# ( (____ _ _ _____) ) _____ _____) ) _______ _ _ _
+# \____ \ | | | || __ / | ___) | __ / | ___ || || || |
+# _____) )| |___| || | \ \ | | | | \ \ | | | || || || |
+# (______/ \_____/ |_| |_||_| |_| |_||_| |_| \_____/
+# Surfraw - Shell Users' Revolutionary Front Rage Against the Web
+# https://surfraw.alioth.debian.org
+# _ _ _ _
+# __ _ ___ | |_| |__ | | ___| |_ _ _
+# / _` |/ _ \| __| '_ \| |/ _ \ __| | | |
+#| (_| | (_) | |_| |_) | | __/ |_| |_| |
+# \__, |\___/ \__|_.__/|_|\___|\__|\__,_|
+# |___/
+# https://www.youtube.com/user/gotbletu
+# https://twitter.com/gotbletu
+# https://plus.google.com/+gotbletu
+# https://github.com/gotbletu
+# gotbleu@gmail.com
+#
+# DATE: Wed October 04, 2017
+#
+# DESC: Elvi to search google for open directories images files
+# elvis: opendir_images -- Search google for open directories images files (https://www.google.com)
+. surfraw || exit 1
+
+w3_usage_hook () {
+ cat <<EOF
+Usage: $w3_argv0 [options] [search words]...
+Description:
+ Search google for open directories images files (https://www.google.com)
+EOF
+ w3_global_usage
+}
+
+w3_config
+w3_parse_args "$@"
+if test -z "$w3_args"; then
+ w3_browse_url "https://www.google.com/search?q=%2B(.jpg|.jpeg|.svg|.gif|.png|.tif|.tiff|.psd)+intitle:%22index%20of%22%20-inurl:(jsp|pl|php|html|aspx|htm|cf|shtml)%20-inurl:(listen77|mp3raid|mp3toss|mp3drug|index_of|wallywashis)"
+else
+ escaped_args=`w3_url_of_arg $w3_args`
+ w3_browse_url "https://www.google.com/search?q=%2B(.jpg|.jpeg|.svg|.gif|.png|.tif|.tiff|.psd)%20+${escaped_args}%20+intitle:%22index%20of%22%20-inurl:(jsp|pl|php|html|aspx|htm|cf|shtml)%20-inurl:(listen77|mp3raid|mp3toss|mp3drug|index_of|wallywashis)"
+fi