summaryrefslogtreecommitdiff
path: root/vid
diff options
context:
space:
mode:
authortsxv478 <atvx717@infraredcombat.xyz>2022-09-21 04:14:19 +0300
committertsxv478 <atvx717@infraredcombat.xyz>2022-09-21 04:14:19 +0300
commit10d22cddad1ff5040e8e2876d46caa09c6d28ef4 (patch)
tree14d9aba4680d6207425aa20537f919725501e8f4 /vid
parentc8e5f418043ec810e781af0d5ee520ef5be42c31 (diff)
vid script
Diffstat (limited to 'vid')
-rwxr-xr-xvid6
1 files changed, 6 insertions, 0 deletions
diff --git a/vid b/vid
new file mode 100755
index 0000000..d9152c4
--- /dev/null
+++ b/vid
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+path="$HOME/vid"
+video=$(find $path -type f | cut -d '/' -f '5-' | dmenu -i -c -bw 3 -l 10 -p "Play video:")
+
+[ -f "$path/$video" ] && mpv --really-quiet "$path/$video"