1
0
Fork 0
dotfiles/files/.local/bin/mpv-ipc

5 lines
133 B
Bash
Executable File

#!/bin/bash
jq -nc --arg argv "$(echo "$@" | tr ' ' '\n')" '{ command: $argv | split("\n") }' | socat - /tmp/mpv.sock 2>/dev/null