Skip to content

Commit

Permalink
start mpv paused from feed reader
Browse files Browse the repository at this point in the history
  • Loading branch information
tejing1 committed May 17, 2024
1 parent 7ee40ca commit 5ce8002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeConfigurations/tejing/news/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5ce8002

Please sign in to comment.