mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2026-11-12 16:46:04 -08:00
fix broken search for new anime
This commit is contained in:
1 parent
c5a1919dc3
commit
706b66ae3a
1 file changed
+1
-1
@@ -251,7 +251,7 @@ get_search_query() {
|
|||||||
-config "$CFG_DIR/${ROFI_CFG}")
|
-config "$CFG_DIR/${ROFI_CFG}")
|
||||||
|
|
||||||
# Strip the list entry number from string
|
# Strip the list entry number from string
|
||||||
query="$(awk '{print $NF}' <<<${query//[1-9]+\. /})"
|
query="${query//[1-9]+\. /}"
|
||||||
[ "$VERBOSE" -eq 1 ] && printf "%s\n" "Query: $query"
|
[ "$VERBOSE" -eq 1 ] && printf "%s\n" "Query: $query"
|
||||||
else
|
else
|
||||||
query=$*
|
query=$*
|
||||||
|
|||||||
Reference in new issue
Block a user