mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2025-07-04 19:19:41 +03:00
Add new scripts
This commit is contained in:
12
scripts/webcam
Executable file
12
scripts/webcam
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -z "$1" ]
|
||||
then
|
||||
res="300"
|
||||
else
|
||||
res=$1
|
||||
fi
|
||||
|
||||
v4l2-ctl --set-fmt-video=width=$res,height=$res
|
||||
mpv /dev/video0
|
||||
|
Reference in New Issue
Block a user