diff options
Diffstat (limited to 'content/notes/plan9-screenshot.md')
| -rw-r--r-- | content/notes/plan9-screenshot.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content/notes/plan9-screenshot.md b/content/notes/plan9-screenshot.md index ad11358..71e5808 100644 --- a/content/notes/plan9-screenshot.md +++ b/content/notes/plan9-screenshot.md | |||
| @@ -13,6 +13,10 @@ output it to `/dev/screen`. You can then use `topng` to convert it to a png | |||
| 13 | image. | 13 | image. |
| 14 | 14 | ||
| 15 | ```sh | 15 | ```sh |
| 16 | # Instant screenshot. | ||
| 16 | cat /dev/screen | topng > screen.png | 17 | cat /dev/screen | topng > screen.png |
| 18 | |||
| 19 | # Delayed screenshot (5 seconds). | ||
| 20 | sleep 5; cat /dev/screen | topng > screen.png | ||
| 17 | ``` | 21 | ``` |
| 18 | 22 | ||
