From 12bbee25132747995fe801b2f0754220741cbf73 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sun, 18 Oct 2020 00:04:17 -0400 Subject: make linkhandler swallow mpv --- .local/bin/linkhandler | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.local/bin/linkhandler b/.local/bin/linkhandler index 8b8ca76..0354a02 100755 --- 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*) -- cgit v1.2.3