aboutsummaryrefslogtreecommitdiff
path: root/1337x
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-03-20 17:12:40 +0530
committersinanmohd <sinan@firemail.cc>2023-03-20 17:12:40 +0530
commit4387ee91cf388be1a2769755c5993e1f35497602 (patch)
treede312020092d00437ee8e248ecdbb7668977a735 /1337x
parent91a695a17cd0c77369a80680c59dd1fe715dfe4d (diff)
font: switch to font awesome for icons
Diffstat (limited to '1337x')
-rwxr-xr-x1337x6
1 files changed, 3 insertions, 3 deletions
diff --git a/1337x b/1337x
index 04254a7..e3f4e4d 100755
--- a/1337x
+++ b/1337x
@@ -9,7 +9,7 @@ die()
: "${1:?}"
command -v notify-send > /dev/null &&
- notify-send " 1337x" "$1"
+ notify-send " 1337x" "$1"
printf "\033[31;1merr: %b\033[0m\n" "$1"
exit "${2:-1}"
@@ -72,12 +72,12 @@ main()
curl -Is "$url_1337x" > /dev/null ||
url_1337x="$proxy_1337x"
- query="${*:-$(printf "" | "$menu" -p " ")}"
+ query="${*:-$(printf "" | "$menu" -p " ")}"
[ -z "$query" ] &&
die "please enter a query"
fetch="$(search_1337x "$query")"
- select="$(echo "$fetch" | sed -e's/^.*\///g' | tr '-' ' ' | "$menu" -l 25 -p " " | tr ' ' '-')"
+ select="$(echo "$fetch" | sed -e's/^.*\///g' | tr '-' ' ' | "$menu" -l 25 -p " " | tr ' ' '-')"
magnet="$(magnet_1337x "$(echo "$fetch" | grep "$select")")"
[ -z "$magnet" ] &&