Commit 790a91c
xxwhirlpool
·
2026-01-15 17:54:29 -0500 EST
parent 5e5f92a
fix webcamimg, misc
3 files changed,
+9,
-1
+2,
-0
| ... | ... | @@ -1,3 +1,5 @@ | |
| 1 | 1 | 0 */3 * * * vdirsyncer sync | |
| 2 | 2 | ||
| 3 | 3 | 0 0 * * * crontab -l > /home/kat/dotfiles/config/.crontab-laptop | |
| 4 | + | ||
| 5 | + | 0 0 * * * cat /home/kat/.bashrc > /home/kat/dotfiles/config/.bashrc-laptop |
+1,
-1
| ... | ... | @@ -12,7 +12,7 @@ | |
| 12 | 12 | gpgsign = true | |
| 13 | 13 | [core] | |
| 14 | 14 | pager = "batcat --paging=always" | |
| 15 | - | autocrlf = true | |
| 15 | + | autocrlf = input | |
| 16 | 16 | [rerere] | |
| 17 | 17 | enabled = true | |
| 18 | 18 | [pull] |
+6,
-0
| ... | ... | @@ -2,4 +2,10 @@ | |
| 2 | 2 | ||
| 3 | 3 | PICPATH="/home/kat/Pictures/Camera/webcam" | |
| 4 | 4 | ||
| 5 | + | # turn on webcam for a bit so the brightness isn't fucked | |
| 6 | + | echo "starting camera, wait 5s" | |
| 7 | + | timeout 5s v4l2-ctl --silent -d /dev/video0 -d0 --stream-mmap | |
| 8 | + | ||
| 9 | + | # take the pic | |
| 10 | + | echo "taking the pic!" | |
| 5 | 11 | ffmpeg -f video4linux2 -i /dev/video0 -vframes 5 -video_size 1920x1080 "$PICPATH/webcam_pic_$(today time)_%3d.jpeg" -hide_banner -loglevel error |