summaryrefslogtreecommitdiffstats
path: root/.config/lf/lfrc
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 /.config/lf/lfrc
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 '.config/lf/lfrc')
-rw-r--r--.config/lf/lfrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
index 2925808..616c5ab 100644
--- a/.config/lf/lfrc
+++ b/.config/lf/lfrc
@@ -16,8 +16,8 @@ cmd open ${{
text/*) $EDITOR $fx;;
image/x-xcf|image/svg+xml) setsid gimp $f >/dev/null 2>&1 & ;;
image/*) rotdir $f | setsid sxiv -aio 2>/dev/null | lf-select & ;;
- audio/*) mpv --input-ipc-server=/tmp/mpvsoc$(date +%%s) $f ;;
- video/*) setsid mpv --input-ipc-server=/tmp/mpvsoc$(date +%%s) $f -quiet >/dev/null 2>&1 & ;;
+ audio/*) mpv $f ;;
+ video/*) setsid mpv $f -quiet >/dev/null 2>&1 & ;;
application/pdf) setsid zathura $fx >/dev/null 2>&1 & ;;
*) for f in $fx; do setsid $OPENER $f >/dev/null 2>&1 & done;;
esac