mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Compare commits
3 Commits
18018b18ff
...
e259c2af0a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e259c2af0a | ||
|
|
9d921b33af | ||
|
|
4c80fed876 |
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
video_files=$(locate -d ~/.config/.mymlocate.db -b -r '.*\.\(mp4\|mkv\|webm\|mov\|m4v\|wmv\|flv\|avi\)$')
|
||||
chosen_file=$(echo "$video_files" | sed 's|.*/||; s/\.[^.]*$//' | dmenu -p "Select Video")
|
||||
mpv "$(echo "$video_files" | fgrep "/$chosen_file.")"
|
||||
chosen_file=$(echo "$video_files" | sed 's|.*/||; s/\.[^.]*$//' | dmenu -i -l 10 -p "Select Video")
|
||||
mpv "$(echo "$video_files" | grep -F "/$chosen_file.")"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user