summaryrefslogtreecommitdiffstats
path: root/.local/bin/pauseallmpv
diff options
context:
space:
mode:
authorWis <im@wis.am>2020-04-09 04:35:03 +0300
committerGitHub <noreply@github.com>2020-04-08 21:35:03 -0400
commita08904d88a5dc413258c590ad794871cb3fc88e8 (patch)
tree9e7cb2f89c306ee5a33c1745e2fbd3a8f7d5626a /.local/bin/pauseallmpv
parent11eac2294fa090cfbd891c538e6ce34fac8da88e (diff)
downloadeibhear-a08904d88a5dc413258c590ad794871cb3fc88e8.tar.gz
eibhear-a08904d88a5dc413258c590ad794871cb3fc88e8.tar.zst
eibhear-a08904d88a5dc413258c590ad794871cb3fc88e8.zip
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
Diffstat (limited to '.local/bin/pauseallmpv')
-rwxr-xr-x.local/bin/pauseallmpv2
1 files changed, 1 insertions, 1 deletions
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