mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-09-13 22:12:04 +02:00
[systemd] update webcam-script
This commit is contained in:
parent
dbd6704926
commit
54c7c6ac00
6 changed files with 17 additions and 20 deletions
8
systemd/webcam.sh
Executable file
8
systemd/webcam.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
now=$(date +"%Y_%m_%d_%H_%M_%S")
|
||||
path="$HOME/Pictures/hour-pics"
|
||||
size="1280x720"
|
||||
|
||||
mkdir -p "$path"
|
||||
streamer -q -f jpeg -s $size -o "$path"/"$now".jpeg -r 1
|
||||
exit $?
|
Loading…
Add table
Add a link
Reference in a new issue