commit 74369f3

hovercats  ·  2022-01-26 05:46:04 +0000 UTC
parent 05487db
dmpv: add

dmpv: using ./* seems to make the script run empty. switch to -- * instead
1 files changed,  +11, -0
A dmpv
A dmpv
+11, -0
 1@@ -0,0 +1,11 @@
 2+#!/bin/sh -e
 3+
 4+# A tiny script for launcing videos inside Videos dir with mpv
 5+# No more need for a detached terminal taking up your screen space
 6+
 7+# Can use fzf instead, and probably rofi, bemenu etc aswell
 8+LAUNCHER="dmenu -l 50"
 9+
10+cd "$HOME"/Videos
11+
12+mpv "$(stest -- * | $LAUNCHER)"