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

5 lines
133 B
Plaintext
Raw Normal View History

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