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 @@
11 0 */3 * * * vdirsyncer sync
22
33 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 @@
1212 gpgsign = true
1313 [core]
1414 pager = "batcat --paging=always"
15- autocrlf = true
15+ autocrlf = input
1616 [rerere]
1717 enabled = true
1818 [pull]
+6, -0
......@@ -2,4 +2,10 @@
22
33 PICPATH="/home/kat/Pictures/Camera/webcam"
44
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!"
511 ffmpeg -f video4linux2 -i /dev/video0 -vframes 5 -video_size 1920x1080 "$PICPATH/webcam_pic_$(today time)_%3d.jpeg" -hide_banner -loglevel error