summaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/linkhandler3
1 files changed, 2 insertions, 1 deletions
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*)