Insensitive case.
This commit is contained in:
parent
ac55c35a32
commit
f5c98b094c
4
pirokit
4
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" ;;
|
||||
|
Loading…
Reference in New Issue
Block a user