From 02349915c14bff1b196b572b23aadf9815afbfd8 Mon Sep 17 00:00:00 2001 From: ksyasuda Date: Wed, 16 Feb 2022 00:43:40 -0800 Subject: [PATCH] sort directory list in play from file mode --- aniwrapper | 1 + 1 file changed, 1 insertion(+) diff --git a/aniwrapper b/aniwrapper index 371831e..6691126 100755 --- a/aniwrapper +++ b/aniwrapper @@ -356,6 +356,7 @@ main() { rofi -dpi "$DPI" -dmenu -config "$CFG_FILE" \ -l 12 -mesg "$span" -p "Enter path to starting directory:" \ -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;") ) # trim trailing whitespace