diff --git a/home/terminal/default.nix b/home/terminal/default.nix index c86eb7b..49d05e6 100644 --- a/home/terminal/default.nix +++ b/home/terminal/default.nix @@ -51,6 +51,8 @@ "ll" = "ls -lh"; "cal" = "rusti-cal --color -w"; "ip" = "ip -c"; + "preview" = "mpv av://v4l2:/dev/video0 --profile=low-latency"; + "cam" = "gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0"; }; };