From 442ec1448c3dfccc5510da063dc5f320cb9ae16e Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 4 Mar 2023 12:44:56 +0530 Subject: 1337x, yts: more pretty dmenu prompt --- 1337x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '1337x') 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" ] && -- cgit v1.2.3