summaryrefslogtreecommitdiff
path: root/local/bin/webcam-go
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2016-10-26 20:44:03 +1300
committerDavid Phillips <david@sighup.nz>2016-10-26 20:44:03 +1300
commit49b53c75b94aea509436536f94dc3e65354b9fcf (patch)
treeb4b9fa0153e79d67c4aef01ca346a4d7a7b334c7 /local/bin/webcam-go
parent4b84b1c26b4b0ca4a6b2fad3e133e628b10f8f6c (diff)
downloaddotfiles-49b53c75b94aea509436536f94dc3e65354b9fcf.tar.xz
Add local/bin files
Diffstat (limited to 'local/bin/webcam-go')
-rwxr-xr-xlocal/bin/webcam-go7
1 files changed, 7 insertions, 0 deletions
diff --git a/local/bin/webcam-go b/local/bin/webcam-go
new file mode 100755
index 0000000..c9d30c2
--- /dev/null
+++ b/local/bin/webcam-go
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+n=$1
+
+[ -z $n ] && n=1
+
+mplayer tv:// -tv device=/dev/video$n -vf screenshot