mirror of
https://github.com/notwa/rc
synced 2025-02-05 15:43:22 -08:00
enable force-window for mpv
This commit is contained in:
parent
d034bc8a31
commit
a74b185559
1 changed files with 4 additions and 1 deletions
|
@ -51,7 +51,10 @@ fi
|
||||||
mpv_watch() {
|
mpv_watch() {
|
||||||
pushd ~/play >/dev/null
|
pushd ~/play >/dev/null
|
||||||
local url="$1"; shift
|
local url="$1"; shift
|
||||||
mpv --af=lavfi="[$_M_PROCESS]" --ytdl-format '[width<=1280],best' \
|
mpv \
|
||||||
|
--force-window=yes \
|
||||||
|
--af=lavfi="[$_M_PROCESS]" \
|
||||||
|
--ytdl-format '[width<=1280],best' \
|
||||||
"$@" "$url"
|
"$@" "$url"
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue