Add some custom scripts

This commit is contained in:
ItsDrike 2021-01-28 12:47:32 +01:00
parent edc7a37a1e
commit 63c6f643a9
No known key found for this signature in database
GPG key ID: 252D306F545351FC
6 changed files with 129 additions and 0 deletions

7
home/.local/scripts/fixcam.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
# Fix camera autofocus and exposure
v4l2-ctl -d /dev/video0 --set-ctrl=focus_auto=0
v4l2-ctl -d /dev/video0 --set-ctrl=exposure_auto=3
v4l2-ctl -d /dev/video0 --set-ctrl=sharpness=150
v4l2-ctl -d /dev/video0 --set-ctrl=exposure_auto_priority=0