diff options
Diffstat (limited to '.local/bin/movie')
| -rwxr-xr-x | .local/bin/movie | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/movie b/.local/bin/movie index 1032762..5ac8795 100755 --- a/.local/bin/movie +++ b/.local/bin/movie @@ -2,9 +2,9 @@ if [ -t 0 ]; then - filename="$(find ~/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | fzf)" + filename="$(find ~/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | fzf)" else - filename="$(find ~/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | dmenu -l 25)" + filename="$(find ~/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | dmenu -l 25)" fi filepath="$(find ~/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)")" |
