diff options
| author | WriterV2 <primary-v2@protonmail.com> | 2026-04-03 22:46:48 +0200 |
|---|---|---|
| committer | WriterV2 <primary-v2@protonmail.com> | 2026-04-03 22:46:48 +0200 |
| commit | a1ec4771740d321df4480e8a7224fa10b59f0569 (patch) | |
| tree | 5e97e8ced79b4fea057fab6e76f80849c053e401 /.config/nushell/phone.nu | |
Update repo with git init directly in home dir
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) +} + |
