#!/bin/sh# I have two cameras on my laptop and the first one is an IR camera (video0)# If a second camera is present, use the second onecamera="/dev/video0"[-e/dev/video2]&&camera="/dev/video2"
pkill-f/dev/video||mpv\--gpu-context=wayland\--no-osc\--no-input-default-bindings\--input-conf=/dev/null\--geometry=-0-0\--autofit=25%\--title="mpvfloat""$camera"