From e371d9edd474bcf89cf5d462eaccb8638900b390 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sat, 3 Oct 2020 19:27:15 -0400 Subject: Initial commit --- .local/bin/camtoggle | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 .local/bin/camtoggle (limited to '.local/bin/camtoggle') diff --git a/.local/bin/camtoggle b/.local/bin/camtoggle new file mode 100755 index 0000000..a71bdf7 --- /dev/null +++ b/.local/bin/camtoggle @@ -0,0 +1,4 @@ +#!/bin/sh + +mpv --no-cache --no-osc --no-input-default-bindings --input-conf=/dev/null --title=webcam $(ls /dev/video[0,4,6,8] | tail -n 1) +# mpv --no-cache --no-osc --no-input-default-bindings --input-conf=/dev/null --title=webcam $(ls /dev/video[0,2,4,6,8] | tail -n 1) -- cgit v1.2.3