From a08904d88a5dc413258c590ad794871cb3fc88e8 Mon Sep 17 00:00:00 2001 From: Wis Date: Thu, 9 Apr 2020 04:35:03 +0300 Subject: mpv config: use mpvSockets script to remove mpv wrappers/aliases (#544) * add scripts to mpv's cfg \w mpvSockets as 1st dependency and\or script * remove all usage of --input-ipc-server in all cmds * remove mpv alias that adds --input-ipc-server * fix pauseallmpv: correct paths to unix socket files * fix dependency-scripts loading so it works also when opening files off main disk --- .local/bin/pauseallmpv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/pauseallmpv') diff --git a/.local/bin/pauseallmpv b/.local/bin/pauseallmpv index 85a7032..15b9f59 100755 --- a/.local/bin/pauseallmpv +++ b/.local/bin/pauseallmpv @@ -5,6 +5,6 @@ # every single one of them with one command! This is bound to super + shift + p # (with other things) by default and is used in some other places. -for i in $(ls /tmp/mpvsoc*); do +for i in $(ls /tmp/mpvSockets/*); do echo '{ "command": ["set_property", "pause", true] }' | socat - $i; done -- cgit v1.3.1