urlhandler: use normal array
This commit is contained in:
parent
6ad57fa427
commit
c70e900d84
|
@ -21,7 +21,7 @@ zmodload zsh/pcre
|
|||
local default_cmd="firefox"
|
||||
local mpv="mpv --force-window=yes"
|
||||
|
||||
local -A assignments=(
|
||||
local -a assignments=(
|
||||
'\.(mp4|m4v|mkv|avi|webm|flv|xvid|ogv|theora|mov|wmv)(\?.+)?$' "${mpv};vlc"
|
||||
'\.(ogg|flac|opus|m4a|wav|mp3|mid|aac|wma)(\?.+)?$' "${mpv};vlc"
|
||||
'^https://media\.ccc\.de/v/[^/]*$' "${mpv}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user