#!/bin/sh
set -eu

mkdir -p ~/archive/vid/
echo "$1" >> ~/archive/vid/history.txt
nohup mpv "$1" 1>/dev/null 2>/dev/null &
