From 7ee40ca985b5d0ee64f663cb8867f2169cd74b78 Mon Sep 17 00:00:00 2001 From: Jeff Huffman Date: Fri, 17 May 2024 03:18:51 -0400 Subject: [PATCH] make mpv show a window immediately when started from feed reader --- homeConfigurations/tejing/news/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeConfigurations/tejing/news/default.nix b/homeConfigurations/tejing/news/default.nix index 0c185f7..cdf91ae 100644 --- a/homeConfigurations/tejing/news/default.nix +++ b/homeConfigurations/tejing/news/default.nix @@ -16,7 +16,7 @@ let } '' case "$1" in https://www.youtube.com/watch\?*) - mpv "$1" || { exitcode="$?"; read -rsN1 -p 'mpv failed, press enter to continue...'; echo; exit "$exitcode"; } + mpv --force-window=immediate "$1" || { exitcode="$?"; read -rsN1 -p 'mpv failed, press enter to continue...'; echo; exit "$exitcode"; } ;; *) xdg-open "$1" &>/dev/null & disown;exit 0