mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Merge 533c21c3af0e02b35fa7cb9c0d85c6c224dcba71 into 031938a792ac3107a512e89504929ef9e3e8ed6a
This commit is contained in:
commit
0ab183db9c
4
.local/bin/videosearch
Normal file
4
.local/bin/videosearch
Normal file
@ -0,0 +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" | grep "/$chosen_file.")"
|
||||
Loading…
x
Reference in New Issue
Block a user