feat(footer): show local time (#42)

This commit is contained in:
Jens Krause
2025-01-06 18:31:22 +01:00
committed by GitHub
parent 66c6d7fc46
commit 94bdeeab11
9 changed files with 261 additions and 24 deletions

22
demo/local-time.tape Normal file
View File

@@ -0,0 +1,22 @@
Output demo/local-time.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
Sleep 1
# --- toggle local time ---
Type@1.5s ":::"
Sleep 1.5