From 593c41b67d71b21ed8907bb56668ee27671bde25 Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Tue, 15 Jun 2021 13:08:54 +0530 Subject: moved webcam to another script for use with dmenu --- .config/zsh/.zshrc | 2 -- .scripts/play-webcam.sh | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) create mode 100755 .scripts/play-webcam.sh 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 -- cgit v1.2.3