From 39a897b1a491d16f5b307e18259dbc59cf3690bf Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Tue, 7 Jul 2020 18:52:28 +0200 Subject: [PATCH] match emoji to search engine --- .local/bin/tools/searx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/tools/searx b/.local/bin/tools/searx index 1292c42..7f1c9f1 100755 --- a/.local/bin/tools/searx +++ b/.local/bin/tools/searx @@ -7,9 +7,9 @@ browser=${BROWSER:-firefox} pgrep -x dmenu && exit -choice=$(echo "🦆" | dmenu -i -p "Searx:") || exit 1 +choice=$(echo "🔍" | dmenu -i -p "Searx:") || exit 1 -if [ "$choice" = "🦆" ]; then +if [ "$choice" = "🔍" ]; then $browser "https://searx.bocken.org" else if echo "$choice" | grep "^(http:\/\/|https:\/\/)?[a-zA-Z0-9]+\.[a-zA-Z]+(/)?.*$"; then