- commit
- 790a91c
- parent
- 5e5f92a
- author
- xxwhirlpool
- date
- 2026-01-15 17:54:29 -0500 EST
fix webcamimg, misc
3 files changed,
+9,
-1
+2,
-0
1@@ -1,3 +1,5 @@
2 0 */3 * * * vdirsyncer sync
3
4 0 0 * * * crontab -l > /home/kat/dotfiles/config/.crontab-laptop
5+
6+0 0 * * * cat /home/kat/.bashrc > /home/kat/dotfiles/config/.bashrc-laptop
+1,
-1
1@@ -12,7 +12,7 @@
2 gpgsign = true
3 [core]
4 pager = "batcat --paging=always"
5- autocrlf = true
6+ autocrlf = input
7 [rerere]
8 enabled = true
9 [pull]
+6,
-0
1@@ -2,4 +2,10 @@
2
3 PICPATH="/home/kat/Pictures/Camera/webcam"
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!"
11 ffmpeg -f video4linux2 -i /dev/video0 -vframes 5 -video_size 1920x1080 "$PICPATH/webcam_pic_$(today time)_%3d.jpeg" -hide_banner -loglevel error