#!/bin/sh mpv /dev/video0 --no-osc --no-cache --untimed --no-demuxer-thread --video-sync=audio --vd-lavc-threads=1 & sleep 1 MPV_PID=$! # MPV_PID=90177538 awesome-client <