diff options
Diffstat (limited to '.config/nushell/phone.nu')
| -rw-r--r-- | .config/nushell/phone.nu | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/nushell/phone.nu b/.config/nushell/phone.nu new file mode 100644 index 0000000..ef62a80 --- /dev/null +++ b/.config/nushell/phone.nu @@ -0,0 +1,6 @@ +export def camera-as-webcam [ + direction: string # 'front' or 'back' +] { + scrcpy --v4l2-sink=/dev/video0 -m1024 --video-source=camera --no-audio --camera-facing ($direction) +} + |
