aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/camtoggle
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.local/bin/camtoggle')
-rwxr-xr-xdotfiles/.local/bin/camtoggle3
1 files changed, 3 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/camtoggle b/dotfiles/.local/bin/camtoggle
new file mode 100755
index 0000000..ba8b0d3
--- /dev/null
+++ b/dotfiles/.local/bin/camtoggle
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pkill -f /dev/video || mpv --gpu-context=wayland --no-osc --no-input-default-bindings --input-conf=/dev/null --geometry=-0-0 --autofit=30% --title="mpvfloat" /dev/video2