demo: local time (#91)
This commit is contained in:
BIN
demo/local-time-footer.gif
Normal file
BIN
demo/local-time-footer.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
20
demo/local-time-footer.tape
Normal file
20
demo/local-time-footer.tape
Normal file
@@ -0,0 +1,20 @@
|
||||
Output demo/local-time-footer.gif
|
||||
|
||||
# https://github.com/charmbracelet/vhs/blob/main/THEMES.md
|
||||
Set Theme "AtomOneLight"
|
||||
|
||||
Set FontSize 14
|
||||
Set Width 800
|
||||
Set Height 400
|
||||
Set Padding 0
|
||||
Set Margin 1
|
||||
|
||||
# --- START ---
|
||||
Set LoopOffset 4
|
||||
Hide
|
||||
Type "cargo run -- -m c"
|
||||
Enter
|
||||
Sleep 0.2
|
||||
Show
|
||||
# --- toggle local time ---
|
||||
Type@1.5s ":::"
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 28 KiB |
@@ -1,7 +1,7 @@
|
||||
Output demo/local-time.gif
|
||||
|
||||
# https://github.com/charmbracelet/vhs/blob/main/THEMES.md
|
||||
Set Theme "AtomOneLight"
|
||||
Set Theme "Atom"
|
||||
|
||||
Set FontSize 14
|
||||
Set Width 800
|
||||
@@ -12,11 +12,9 @@ Set Margin 1
|
||||
# --- START ---
|
||||
Set LoopOffset 4
|
||||
Hide
|
||||
Type "cargo run -- -m c"
|
||||
Type "cargo run -- -m l"
|
||||
Enter
|
||||
Sleep 0.2
|
||||
Show
|
||||
Sleep 1
|
||||
# --- toggle local time ---
|
||||
Type@1.5s ":::"
|
||||
Sleep 1.5
|
||||
|
||||
Reference in New Issue
Block a user