commit 12bbee25132747995fe801b2f0754220741cbf73
parent d427693f43ba211e35f18adc877f5df48e4724db
Author: Benjamin Chausse <benjamin@chausse.xyz>
Date:   Sun, 18 Oct 2020 00:04:17 -0400

make linkhandler swallow mpv

Diffstat:
M.local/bin/linkhandler | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.local/bin/linkhandler b/.local/bin/linkhandler @@ -11,7 +11,8 @@ case "$1" in *mkv|*webm|*mp4|*youtube.com/watch*|*youtube.com/playlist*|*youtu.be*|*hooktube.com*|*bitchute.com*) - setsid -f mpv --no-config "$1" ;; + mpv --no-config "$1" ;; + # setsid -f mpv --no-config "$1" ;; *png|*jpg|*jpe|*jpeg|*gif|*.webp) curl -sL "$1" > "/tmp/$(echo "$1" | sed "s/.*\///")" && sxiv -a "/tmp/$(echo "$1" | sed "s/.*\///")" >/dev/null 2>&1 & ;; *mp3|*flac|*opus|*mp3?source*)