diff options
author | sinanmohd <sinan@firemail.cc> | 2023-05-08 11:32:42 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-05-08 11:42:47 +0530 |
commit | 0e942d035d09b04d88cb018d22b8ce6aa4f4283b (patch) | |
tree | 5a55961289c963922d2b4269762417fca357ec19 /1337x | |
parent | be4a8f808abf4eee23b8a3adc26468a376c8bd5f (diff) |
1337x, yts: switch back to nerd font
Diffstat (limited to '1337x')
-rwxr-xr-x | 1337x | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -8,7 +8,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}" @@ -68,12 +68,12 @@ main() dep_check "$menu" - 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" ] && |