From 5ce80026f5048bc72d1b0889aa24f9c64ff13896 Mon Sep 17 00:00:00 2001 From: Jeff Huffman Date: Fri, 17 May 2024 04:17:57 -0400 Subject: [PATCH] start mpv paused 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 cdf91ae..c7c3079 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 --force-window=immediate "$1" || { exitcode="$?"; read -rsN1 -p 'mpv failed, press enter to continue...'; echo; exit "$exitcode"; } + mpv --force-window=immediate --pause "$1" || { exitcode="$?"; read -rsN1 -p 'mpv failed, press enter to continue...'; echo; exit "$exitcode"; } ;; *) xdg-open "$1" &>/dev/null & disown;exit 0