From f5c98b094c84740c3c52ab0f1bff87d7f81a5fbb Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Mon, 9 Jan 2023 21:55:15 +0100 Subject: [PATCH] Insensitive case. --- pirokit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pirokit b/pirokit index 8c48bbb..071c430 100755 --- a/pirokit +++ b/pirokit @@ -7,13 +7,13 @@ baseurl="https://www.1377x.to/" cachedir="$HOME/.cache/dl" #get query from dmenu -query=$(printf '%s' | dmenu -p "Search Torrent:" | sed 's/ /+/g') +query=$(printf '%s' | dmenu -i -p "Search Torrent:" | sed 's/ /+/g') #setup working dir mkdir -p $cachedir cd $cachedir -case "$(printf "All\\nMovies\\nTV\\nGames\\nMusic\\nApplications\\nDocumentaries\\nOther" | dmenu -p "Category to search in: ")" in +case "$(printf "All\\nMovies\\nTV\\nGames\\nMusic\\nApplications\\nDocumentaries\\nOther" | dmenu -i -p "Category to search in: ")" in All) url="$baseurl/search/$query" ;; Movies) url="$baseurl/category-search/$query/Movies" ;; TV) url="$baseurl/category-search/$query/TV" ;;