aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/zsh/.zshrc2
-rwxr-xr-x.scripts/play-webcam.sh1
2 files changed, 1 insertions, 2 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 974b868..5784239 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -74,8 +74,6 @@ title() {
srecord() {
ffmpeg -f x11grab -s 1366x768 -i :0.0 $@
}
-# get webcam output in mpv
-alias webcam="mpv av://v4l2:/dev/video0 --profile=low-latency --untimed"
neofetch
exa
diff --git a/.scripts/play-webcam.sh b/.scripts/play-webcam.sh
new file mode 100755
index 0000000..0bc71ca
--- /dev/null
+++ b/.scripts/play-webcam.sh
@@ -0,0 +1 @@
+mpv av://v4l2:/dev/video0 --profile=low-latency --untimed