summaryrefslogtreecommitdiff
path: root/local/bin/webcam-go
blob: fe4d6edf94c195d7f3cfc283e865eb1a827ef286 (plain)
1
2
3
4
5
6
7
#!/bin/sh

n=$1

[ -z $n ] && n=1

mpv tv:// -tv device=/dev/video$n