Add script for generating screenshots

This commit is contained in:
Johannes Marbach 2021-11-14 13:44:06 +01:00
parent 5b6438b64b
commit 1ccbf7e155
6 changed files with 77 additions and 0 deletions

View file

@ -149,6 +149,16 @@ $ ./regenerate-layouts.sh
from the root of the repository.
## Generating screenshots
To generate screenshots in a variety of common sizes, build unl0kr and then run
```
$ sudo ./generate-screenshots _build/unl0kr
```
where `_build/unl0kr` is the location of the unl0kr binary. Note that you may have to adapt some of the settings inside the script depending on the device you're using to generate the screenshots.
## Screen recording
For demonstration purposes you can record the framebuffer device, e.g. with ffmpeg: