https://github.com/3ynm/capture_screenshots
Will capture screenshots in a loop
https://github.com/3ynm/capture_screenshots
capture-screenshots screenshot scrot
Last synced: 8 months ago
JSON representation
Will capture screenshots in a loop
- Host: GitHub
- URL: https://github.com/3ynm/capture_screenshots
- Owner: 3ynm
- License: unlicense
- Created: 2017-11-08T13:46:53.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-08T14:01:55.000Z (almost 8 years ago)
- Last Synced: 2024-08-18T04:15:00.457Z (about 1 year ago)
- Topics: capture-screenshots, screenshot, scrot
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# capture_screenshots.sh
```
./capture_screenshots.sh EACH_SECONDS [FULL_PATH]
```Will capture screenshots every `EACH_SECONDS` in `FULL_PATH`, default path is `$HOME/Pictures/screenshots`
## Requirements
- Bash/KSH (probably works with others too)
- [scrot](http://scrot.sourcearchive.com/) to capture screenshots, but you can configure other command## Configuration
### Environment variables
- `CAPTURE_SCREENSHOTS_COMMAND` defaults to `scrot`: Set command to capture screenshots
- `CAPTURE_SCREENSHOTS_FILENAME` defaults to `%s.png` (supported by scrot!): Set screenshot filename## Installation
It's a good idea to copy it in a place in your `$PATH`, like `/usr/local/bin`.
## Wishlist
- Don't use SECONDS variable, as is not POSIX