aboutsummaryrefslogtreecommitdiff
path: root/1337x
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 /1337x
parent3095c10db9436b872fa80b5064633f5e6140360a (diff)
1337x, yts: more pretty dmenu prompt
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" ] &&