mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Compare commits
1 Commits
fa21e4283a
...
0ab183db9c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0ab183db9c |
@ -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.")"
|
||||
mpv "$(echo "$video_files" | grep "/$chosen_file.")"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user