aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/xgo.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/xgo.sh b/bin/xgo.sh
index 35c2485f..c888622d 100644
--- a/bin/xgo.sh
+++ b/bin/xgo.sh
@@ -39,7 +39,7 @@ for url do (
# mpv(1)
(*[/.]youtube.com/watch*[?\&]t=) ;;
(*[/.]youtube.com/watch*)
- exec mpv -- "$url"
+ exec mpv --force-window --no-terminal -- "$url"
;;
esac
@@ -62,7 +62,7 @@ for url do (
# Open audio and video in mpv(1); force a window even for audio so I
# can control it
(audio/*|video/*)
- exec mpv --force-window -- "$url"
+ exec mpv --force-window --no-terminal -- "$url"
;;
# If the MIME type is an image that is not a GIF, load it in feh(1)