aboutsummaryrefslogtreecommitdiff
path: root/yts
diff options
context:
space:
mode:
authorsinanmohd <pcmsinan@gmail.com>2023-03-04 12:44:56 +0530
committersinanmohd <pcmsinan@gmail.com>2023-03-11 19:05:05 +0530
commit442ec1448c3dfccc5510da063dc5f320cb9ae16e (patch)
tree34cc6a8f87f4f1c272381a1b6b9088006be851b5 /yts
parent3095c10db9436b872fa80b5064633f5e6140360a (diff)
1337x, yts: more pretty dmenu prompt
Diffstat (limited to 'yts')
-rwxr-xr-xyts2
1 files changed, 1 insertions, 1 deletions
diff --git a/yts b/yts
index 0720885..5d6bed7 100755
--- a/yts
+++ b/yts
@@ -85,7 +85,7 @@ main()
url_yts="$proxy_yts"
fetch="$(search_yts "$query")"
- dllink="$(dllink_yts "$(echo "$fetch" | dmenu -l 25 -p " ")")"
+ dllink="$(dllink_yts "$(echo "$fetch" | tr '-' ' ' | dmenu -l 25 -p " " | tr ' ' '-')")"
[ -z "$dllink" ] &&
die "empty magnet"