mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-10-28 04:44:11 -07:00
Merge branch 'master' of github.com:ksyasuda/aniwrapper
This commit is contained in:
commit
7ee540601e
4
ani-cli
4
ani-cli
@ -278,8 +278,10 @@ get_search_query() {
|
||||
-config "$CFG_DIR/${ROFI_CFG}")
|
||||
|
||||
# Strip the list entry number from string
|
||||
query="$(awk '{print $NF}' <<<${query//[1-9]+\. /})"
|
||||
# query="$(awk '{print $NF}' <<<${query//[1-9]+\. /})"
|
||||
query="${query//[1-9]*\. /}"
|
||||
log "Query: $query"
|
||||
# [ "$VERBOSE" -eq 1 ] && printf "%s\n" "Query: $query"
|
||||
else
|
||||
query=$*
|
||||
fi
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[ -z "$XDG_CONFIG_HOME" ] && XDG_CONFIG_HOME="$HOME/.config"
|
||||
|
||||
CMD=/usr/local/bin/ani-cli
|
||||
CMD=/usr/bin/ani-cli
|
||||
DEFAULT_DOWNLOAD="$HOME/Videos/sauce"
|
||||
CFG_DIR="$XDG_CONFIG_HOME/aniwrapper"
|
||||
DEFAULT_PLAYLIST="$CFG_DIR/playlists/playlist.txt"
|
||||
|
Loading…
Reference in New Issue
Block a user