diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-06-30 08:36:07 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:12:34 +0200 |
commit | dbadbff646f25b937e7aa76ec4594f8908484333 (patch) | |
tree | e19cc9ef5e5f70c3eba9f772042dc459ec0e620b /read_manga_rofi.sh | |
parent | 3278cb33df34bd6a1be6818aea1f078aa4a0ac1c (diff) |
read_manga_rofi: sort list by chapter number instead of timestamp
Diffstat (limited to 'read_manga_rofi.sh')
-rwxr-xr-x | read_manga_rofi.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/read_manga_rofi.sh b/read_manga_rofi.sh index cbdc19b..4eed923 100755 --- a/read_manga_rofi.sh +++ b/read_manga_rofi.sh @@ -9,6 +9,6 @@ cd "$script_dir" download_dir="$1" manga_list=$(ls -t "$download_dir") selected_manga=$(echo "$manga_list" | rofi -dmenu -i -p "Select manga") -chapters=$(ls -t "$download_dir/$selected_manga") +chapters=$(./read_manga.py "$download_dir/$selected_manga" --list-reverse) selected_starting_chapter=$(echo "$chapters" | rofi -dmenu -i -p "Select starting chapter") ./read_manga.py "$download_dir/$selected_manga" "$selected_starting_chapter" |