aboutsummaryrefslogtreecommitdiff
path: root/1337x
diff options
context:
space:
mode:
Diffstat (limited to '1337x')
-rwxr-xr-x1337x2
1 files changed, 1 insertions, 1 deletions
diff --git a/1337x b/1337x
index ea9a7fa..925a02b 100755
--- a/1337x
+++ b/1337x
@@ -74,7 +74,7 @@ main()
die "please enter a query"
fetch="$(search_1337x "$query")"
- select="$(echo "$fetch" | sed 's/^.*\///g' | dmenu -l 25 -p " ")"
+ select="$(echo "$fetch" | sed -e's/^.*\///g' | tr '-' ' ' | dmenu -l 25 -p " " | tr ' ' '-')"
magnet="$(magnet_1337x "$(echo "$fetch" | grep "$select")")"
[ -z "$magnet" ] &&