summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"