about summary refs log tree commit diff stats
path: root/config/ksh/functions/mpvpin
diff options
context:
space:
mode:
Diffstat (limited to 'config/ksh/functions/mpvpin')
-rw-r--r--config/ksh/functions/mpvpin4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/ksh/functions/mpvpin b/config/ksh/functions/mpvpin
new file mode 100644
index 0000000..0cc3cf5
--- /dev/null
+++ b/config/ksh/functions/mpvpin
@@ -0,0 +1,4 @@
+#!/bin/ksh
+mpvpin() {
+	mpv --input-ipc-server=/tmp/mpv-socket$(date +%s) --quiet --title "PIN" "$1" >/dev/null 2>&1 &
+}