💾 Archived View for ait.place › dot › nnn › .config › nnn › plugins › mpv_sel.txt captured on 2021-12-05 at 23:47:19.

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

#!/usr/bin/env bash

if [ -s "$sel" ]; then
	list=$(tr '\0' '\n' < "$sel")
	while read -r item;do
		if [ -z "$things" ];then
			things="\"$item\""
		else
			things="$things \"$item\""
		fi
	done <<< "$list"
	echo "$things" | xargs mpv
fi