dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 0d8c7e39e0b38968aa3d5bb80b16bee452b4db13
parent a48484768f3ccf702e09282ec97ed83966b1b939
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Mon, 21 Mar 2022 16:19:44 +0100

mpcq: recognize webm as audio (because it could be)

Diffstat:
Mscripts/mpcq | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/mpcq b/scripts/mpcq @@ -16,7 +16,7 @@ pgrep mpd >/dev/null 2>&1 || die "mpd is not running." queue() { case "$1" in - *.wav|*.flac|*.mp3|*.m4a|*.opus) + *.wav|*.flac|*.mp3|*.m4a|*.opus|*.webm) { [ -n "$next" ] && queuecmd="insert"; } || queuecmd="add" mpc -h ~/.local/share/mpd/socket "$queuecmd" "file://$1" printf "Queued: %s\n" "$1"