aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-15 13:08:54 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-15 13:08:54 +0530
commit593c41b67d71b21ed8907bb56668ee27671bde25 (patch)
tree4b31bc9f1b62a7e928acb18ad12e371fae24b3db
parent48e68c8ee112e478292b2723a844da184de823d3 (diff)
moved webcam to another script for use with dmenu
-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