From c865d2d9d41719e56bc7f6e4eca6078ee402c291 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 3 Dec 2025 03:19:52 +0900 Subject: docs: Add screenshot to README --- tools/vhs/NOTE | 5 +++++ tools/vhs/_config.tape | 4 ++++ tools/vhs/alarm.tape | 7 +++++++ tools/vhs/clock.tape | 9 +++++++++ tools/vhs/countdown.tape | 7 +++++++ tools/vhs/timer.tape | 7 +++++++ 6 files changed, 39 insertions(+) create mode 100644 tools/vhs/NOTE create mode 100644 tools/vhs/_config.tape create mode 100644 tools/vhs/alarm.tape create mode 100644 tools/vhs/clock.tape create mode 100644 tools/vhs/countdown.tape create mode 100644 tools/vhs/timer.tape (limited to 'tools') diff --git a/tools/vhs/NOTE b/tools/vhs/NOTE new file mode 100644 index 0000000..59ce49b --- /dev/null +++ b/tools/vhs/NOTE @@ -0,0 +1,5 @@ +How to generate assets/ files: + +$ nix run 'nixpkgs#vhs' tools/vhs/[FILE].tape + +See also: https://github.com/charmbracelet/vhs diff --git a/tools/vhs/_config.tape b/tools/vhs/_config.tape new file mode 100644 index 0000000..e532611 --- /dev/null +++ b/tools/vhs/_config.tape @@ -0,0 +1,4 @@ +Set FontSize 32 +Set Width 800 +Set Height 600 +Set Theme "iceberg-dark" diff --git a/tools/vhs/alarm.tape b/tools/vhs/alarm.tape new file mode 100644 index 0000000..188ccac --- /dev/null +++ b/tools/vhs/alarm.tape @@ -0,0 +1,7 @@ +Source "tools/vhs/_config.tape" +Output assets/alarm.gif + +Type "term-clock alarm 03:10" +Sleep 500ms +Enter +Sleep 5s diff --git a/tools/vhs/clock.tape b/tools/vhs/clock.tape new file mode 100644 index 0000000..f597fb3 --- /dev/null +++ b/tools/vhs/clock.tape @@ -0,0 +1,9 @@ +Source "tools/vhs/_config.tape" +Output assets/clock.gif + +Type "term-clock clock" +Sleep 500ms +Enter +Sleep 5s + +Screenshot assets/screenshot.png diff --git a/tools/vhs/countdown.tape b/tools/vhs/countdown.tape new file mode 100644 index 0000000..28ec516 --- /dev/null +++ b/tools/vhs/countdown.tape @@ -0,0 +1,7 @@ +Source "tools/vhs/_config.tape" +Output assets/countdown.gif + +Type "term-clock countdown 5" +Sleep 500ms +Enter +Sleep 7s diff --git a/tools/vhs/timer.tape b/tools/vhs/timer.tape new file mode 100644 index 0000000..09a994c --- /dev/null +++ b/tools/vhs/timer.tape @@ -0,0 +1,7 @@ +Source "tools/vhs/_config.tape" +Output assets/timer.gif + +Type "term-clock timer 5s" +Sleep 500ms +Enter +Sleep 7s -- cgit v1.2.3-70-g09d2