Compare commits

...

2 Commits

Author SHA1 Message Date
ksyasuda
6e5b3c463a fix script not quitting when escaping from play from file mode 2022-02-16 23:58:20 -08:00
ksyasuda
01fe1bb68a apply autoformatter to markdown files 2022-02-16 23:57:43 -08:00
4 changed files with 37 additions and 37 deletions

View File

@ -125,7 +125,7 @@ In this program, rofi is configured to search with case insensitivity and select
Once your history starts filling up, it becomes progressively more difficult to form unique search queries Once your history starts filling up, it becomes progressively more difficult to form unique search queries
![selection with dash](https://imgur.com/vSyaoG6.png) ![selection with dash](https://imgur.com/vSyaoG6.png)
A workaround for this is to append a dash ` -` to the end of the search query<br/> A workaround for this is to append a dash `-` to the end of the search query<br/>
The above output was produced by searching: `isekai -` The above output was produced by searching: `isekai -`
</div> </div>
@ -156,6 +156,9 @@ aniwrapper -T <path_to_config> # Specify custom rofi config
aniwrapper -v # Enable verbose logging aniwrapper -v # Enable verbose logging
``` ```
> Half-episodes (ex. saihate-no-paladin episode 7.5) are selectable, however they will not show up in the episodes list.
> To select half episodes add 'h' to the beginning for episodes like '7.5' -> 'h7' to select saihate-no-paladin episode 7.5
See [aniwrapper menus](docs/aniwrapper-menus.md) for more information about the menus used in the following options See [aniwrapper menus](docs/aniwrapper-menus.md) for more information about the menus used in the following options
### Option 1: Streaming ### Option 1: Streaming

View File

@ -397,7 +397,7 @@ find_media() {
selection="$(rofi -dpi "$DPI" -dmenu -no-custom -async-pre-read 33 -config "$ROFI_CFG" \ selection="$(rofi -dpi "$DPI" -dmenu -no-custom -async-pre-read 33 -config "$ROFI_CFG" \
-l 15 -i -sep '|' -mesg "$(generate_span "Current directory: $inp")" -a "$watched" \ -l 15 -i -sep '|' -mesg "$(generate_span "Current directory: $inp")" -a "$watched" \
-p "Enter selection" -window-title 'aniwrapper' <<< "$inputlist")" -p "Enter selection" -window-title 'aniwrapper' <<< "$inputlist")"
lg "SELECTION: $selection" 1> /dev/stderr [ -z "$selection" ] && return 1
case "$selection" in case "$selection" in
Back | ../) Back | ../)
dotdotslash="${inp%/*}" dotdotslash="${inp%/*}"

View File

@ -5,7 +5,7 @@
.SH NAME .SH NAME
.PP .PP
aniwrapper - A rofi wrapper around ani-cli: a command-line tool to aniwrapper - A rofi wrapper around ani-cli: a command-line tool to
browser, download, and stream anime stream, download, and play anime
.SH SYNOPSIS .SH SYNOPSIS
.PP .PP
\f[B]aniwrapper\f[R] [-dhpqSv] [-t \f[I]theme\f[R] | -T \f[B]aniwrapper\f[R] [-dhpqSv] [-t \f[I]theme\f[R] | -T
@ -27,15 +27,12 @@ browser, download, and stream anime
.P .P
.PD .PD
\f[B]aniwrapper\f[R] -C \f[B]aniwrapper\f[R] -C
.PD 0
.P
.PD
.SH DESCRIPTION .SH DESCRIPTION
.PP .PP
\f[B]aniwrapper\f[R] is a wrapper around a modified version of \f[B]aniwrapper\f[R] is a wrapper around a modified version of
\f[B]ani-cli\f[R], which uses \f[B]rofi\f[R] to get user input and \f[B]ani-cli\f[R], which uses \f[B]rofi\f[R] to get user input and
control the program flow, as well as a a \f[B]sqlite3\f[R] database for control the program flow, as well as a a \f[B]sqlite3\f[R] database for
tracking search/watch history. tracking search/watch history
.SH OPTIONS .SH OPTIONS
.PP .PP
Defaults: Defaults:
@ -122,4 +119,4 @@ notifications)
Written by Kyle Yasuda <ksyasuda@umich.edu> Written by Kyle Yasuda <ksyasuda@umich.edu>
.PP .PP
Original code based on pystardust\[cq]s \f[I]ani-cli\f[R] Original code based on pystardust\[cq]s \f[I]ani-cli\f[R]
(https://github.com/pystardust/ani-cli) (<https://github.com/pystardust/ani-cli>)

View File

@ -8,21 +8,21 @@ date: February 4, 2022
# NAME # NAME
aniwrapper - A rofi wrapper around ani-cli: a command-line tool to browser, download, and stream anime aniwrapper - A rofi wrapper around ani-cli: a command-line tool to stream, download, and play anime
# SYNOPSIS # SYNOPSIS
**aniwrapper** [-dhpqSv] [-t _theme_ | -T *config_path*] [*query*]\ **aniwrapper** [-dhpqSv] [-t _theme_ | -T _config_path_] [_query_]\
**aniwrapper** -f _directory_path_ [-t _theme_ | -T *config_path*] [-pSv] [*query*]\ **aniwrapper** -f _directory_path_ [-t _theme_ | -T _config_path_] [-pSv] [_query_]\
**aniwrapper** -c [-dhpqSv] [*query*]\ **aniwrapper** -c [-dhpqSv] [_query_]\
**aniwrapper** -Q _query_\ **aniwrapper** -Q _query_\
**aniwrapper** -C\ **aniwrapper** -C
# DESCRIPTION # DESCRIPTION
**aniwrapper** is a wrapper around a modified version of **ani-cli**, which uses **aniwrapper** is a wrapper around a modified version of **ani-cli**, which uses
**rofi** to get user input and control the program flow, as well as a **rofi** to get user input and control the program flow, as well as a
a **sqlite3** database for tracking search/watch history. a **sqlite3** database for tracking search/watch history
# OPTIONS # OPTIONS
@ -103,4 +103,4 @@ Defaults:
Written by Kyle Yasuda <ksyasuda@umich.edu> Written by Kyle Yasuda <ksyasuda@umich.edu>
Original code based on pystardust's _ani-cli_ (https://github.com/pystardust/ani-cli) Original code based on pystardust's _ani-cli_ (<https://github.com/pystardust/ani-cli>)