summaryrefslogtreecommitdiff
path: root/.i3/scripts/camtoggle
diff options
context:
space:
mode:
Diffstat (limited to '.i3/scripts/camtoggle')
-rwxr-xr-x.i3/scripts/camtoggle2
1 files changed, 2 insertions, 0 deletions
diff --git a/.i3/scripts/camtoggle b/.i3/scripts/camtoggle
new file mode 100755
index 0000000..1e39dec
--- /dev/null
+++ b/.i3/scripts/camtoggle
@@ -0,0 +1,2 @@
+#!/bin/bash
+pkill -f /dev/video || mpv --no-osc --no-input-default-bindings --input-conf=/dev/null --geometry=-0-0 --autofit=30% --title="mpvfloat" /dev/video0