commit b95824b
hovercats
·
2023-11-22 11:30:56 +0000 UTC
parent 5bccc63
dmpv: drop in favor for rc rewrite
1 files changed,
+0,
-18
D
sh/dmpv
D
sh/dmpv
+0,
-18
1@@ -1,18 +0,0 @@
2-#!/bin/sh -e
3-
4-# A tiny script for launching videos inside Videos dir with mpv
5-# No more need for a detached terminal taking up your screen space
6-# you can also delete the selected video with -d option
7-
8-DIR="$HOME"/usr/vid
9-
10-cd "$DIR"
11-
12-case $1 in
13- -d)
14- rm -rf "$(find . -type f | awk -F "/" '{print $NF}' | dmenu -c -i -l 20 -p 'Delete:')"
15- ;;
16- *)
17- exec mpv "$(find . -type f | awk -F "/" '{print $NF}' | dmenu -c -i -l 20 -p 'Play:')"
18- ;;
19-esac