-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
59 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# This is a vhs script. See https://github.com/charmbracelet/vhs for more info. | ||
# To run this script, install vhs and run `vhs ./examples/demo.tape` | ||
|
||
Output "target/demo2-social.gif" | ||
Set Theme "OceanicMaterial" | ||
# Github social preview size (1280x640 with 80px padding) and must be < 1MB | ||
# This puts some constraints on the amount of interactivity we can do. | ||
Set Width 1280 | ||
Set Height 640 | ||
Set Padding 80 | ||
Hide | ||
Type "cargo run --example demo2 --features crossterm,widget-calendar" | ||
Enter | ||
Sleep 2s | ||
Show | ||
# About screen | ||
Sleep 3.5s | ||
Down # Red eye | ||
Sleep 0.4s | ||
Down # black eye | ||
Sleep 1s | ||
Tab | ||
# Recipe | ||
Sleep 1s | ||
Set TypingSpeed 500ms | ||
Down 7 | ||
Sleep 1s | ||
Tab | ||
Sleep 2s | ||
Down 4 | ||
Sleep 2s | ||
Tab | ||
# Trace route | ||
Sleep 1s | ||
Set TypingSpeed 200ms | ||
Down 10 | ||
Sleep 2s | ||
Tab | ||
# Weather | ||
Set TypingSpeed 100ms | ||
Down 40 | ||
Sleep 2s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters