From b17a3d98f755b0d2dcf5035d79ce771b4ecd258e Mon Sep 17 00:00:00 2001 From: krolxon Date: Fri, 10 Oct 2025 21:08:40 +0530 Subject: add define_word script --- .local/bin/movie | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.local/bin/movie') diff --git a/.local/bin/movie b/.local/bin/movie index b56828f..1cee6f5 100755 --- a/.local/bin/movie +++ b/.local/bin/movie @@ -2,11 +2,11 @@ if [ -t 0 ]; then - filename="$(find ~/media/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | fzf)" + filename="$(find ~/remote/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | fzf)" else - filename="$(find ~/media/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | fuzzel -d -l 25)" + filename="$(find ~/remote/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)" -printf "%f\n" | sort | fuzzel -d -l 25)" fi -filepath="$(find ~/media/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)")" +filepath="$(find ~/remote/movies/ -type f -regex ".*\.\(mkv\|mp4\|mpeg\|avi\|mov\|webm\)")" mpv "$(grep "$filename" <<< "$filepath")" -- cgit v1.2.3