From 5ef344a839d93a4c5c754feba6007693658d70ef Mon Sep 17 00:00:00 2001 From: tsxv478 Date: Wed, 21 Sep 2022 04:14:19 +0300 Subject: vid script --- vid | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 vid 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" -- cgit v1.2.3