urlhandler: make mpv fullscreen

This commit is contained in:
tastytea 2024-01-14 00:03:15 +01:00
parent 8714a543d3
commit b52ba9bf92
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -20,7 +20,7 @@ zmodload zsh/pcre
local default_cmd="firefox"
type firefox >& - || default_cmd=firefox-bin
local mpv="mpv --force-window=yes"
local mpv="mpv --force-window=yes --fullscreen"
local -a assignments=(
'\.(mp4|m4v|mkv|avi|webm|flv|xvid|ogv|theora|mov|wmv)(\?.+)?$' "${mpv};vlc"