mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-11-22 03:19:53 -08:00
sort directory list in play from file mode
This commit is contained in:
parent
1461c3bc62
commit
02349915c1
@ -356,6 +356,7 @@ main() {
|
|||||||
rofi -dpi "$DPI" -dmenu -config "$CFG_FILE" \
|
rofi -dpi "$DPI" -dmenu -config "$CFG_FILE" \
|
||||||
-l 12 -mesg "$span" -p "Enter path to starting directory:" \
|
-l 12 -mesg "$span" -p "Enter path to starting directory:" \
|
||||||
-async-pre-read 24 -matching 'fuzzy' -window-title 'aniwrapper' \
|
-async-pre-read 24 -matching 'fuzzy' -window-title 'aniwrapper' \
|
||||||
|
-sort -sorting-method fzf \
|
||||||
< <(sqlite3 -noheader -list "$CFG_DIR/history.sqlite3" <<< "SELECT directory FROM file_history WHERE filename = 'DIRECTORY' ORDER BY WATCH_DATE DESC;")
|
< <(sqlite3 -noheader -list "$CFG_DIR/history.sqlite3" <<< "SELECT directory FROM file_history WHERE filename = 'DIRECTORY' ORDER BY WATCH_DATE DESC;")
|
||||||
)
|
)
|
||||||
# trim trailing whitespace
|
# trim trailing whitespace
|
||||||
|
Loading…
Reference in New Issue
Block a user