From 4a73f6b7c560a53a7f6fe3bff54a06671fea6109 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Thu, 7 Jan 2021 21:46:47 -0500 Subject: linkhandler uses mpv with the sponsorblock plugin --- .local/bin/linkhandler | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.local/bin/linkhandler') diff --git a/.local/bin/linkhandler b/.local/bin/linkhandler index c7c5e75..0beb361 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*|*video.twimg.com*) - mpv --no-config "$1" ;; + mpv "$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 & ;; -- cgit v1.2.3