mpv: add more scripts and binds
This commit is contained in:
parent
e55fa54410
commit
18ce390cc6
1
src/.config/mpv/input.conf
Normal file
1
src/.config/mpv/input.conf
Normal file
@ -0,0 +1 @@
|
||||
CTRL+p script-message osc-playlist
|
@ -1 +1,2 @@
|
||||
osd-status-msg=${playback-time/full} / ${duration} (${percent-pos}%)\nframe: ${estimated-frame-number} / ${estimated-frame-count}
|
||||
input-ipc-server="/tmp/mpv-socket"
|
||||
|
5
src/.local/bin/mpvq
Executable file
5
src/.local/bin/mpvq
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
# Append link from clipboard to mpv playlist
|
||||
|
||||
path="$(xsel -b)"
|
||||
echo "{ command: [ \"loadfile\", \"$path\", \"append-play\" ] }" | socat - /tmp/mpv-socket
|
Loading…
Reference in New Issue
Block a user