diff --git a/README.md b/README.md
index 80c9c5c..3e63821 100644
--- a/README.md
+++ b/README.md
@@ -37,19 +37,13 @@ _(theme depends on your terminal preferences)_
-## Countdown
+## Countdown (*incl. [Mission Elapsed Time](https://en.wikipedia.org/wiki/Mission_Elapsed_Time)*)
-## Countdown: Mission Elapsed Time ([MET](https://en.wikipedia.org/wiki/Mission_Elapsed_Time))
-
-
-
-
-
-## Event (past/future)
+## Event (*past/future*)
@@ -61,7 +55,7 @@ _(theme depends on your terminal preferences)_
-## Local time (footer)
+## Local time (*footer*)
@@ -73,6 +67,13 @@ _(theme depends on your terminal preferences)_
+## Maximum (*`9999y`* *`364d`* *`23:59:59.9`*)
+
+
+
+
+
+
## Change style
diff --git a/demo/blink.gif b/demo/blink.gif
index 2e44dcb..6fe3ee9 100644
Binary files a/demo/blink.gif and b/demo/blink.gif differ
diff --git a/demo/blink.tape b/demo/blink.tape
index e9c4277..40c2cd2 100644
--- a/demo/blink.tape
+++ b/demo/blink.tape
@@ -4,8 +4,8 @@ Output demo/blink.gif
Set Theme "nord-light"
Set FontSize 14
-Set Width 800
-Set Height 400
+Set Width 1000
+Set Height 500
Set Padding 0
Set Margin 1
diff --git a/demo/countdown-max.png b/demo/countdown-max.png
new file mode 100644
index 0000000..3d30e6f
Binary files /dev/null and b/demo/countdown-max.png differ
diff --git a/demo/local-time-date.tape b/demo/countdown-max.tape
similarity index 54%
rename from demo/local-time-date.tape
rename to demo/countdown-max.tape
index b4e5bd6..d700637 100644
--- a/demo/local-time-date.tape
+++ b/demo/countdown-max.tape
@@ -1,7 +1,6 @@
-Output demo/local-time-date.gif
# https://github.com/charmbracelet/vhs/blob/main/THEMES.md
-Set Theme "WarmNeon"
+Set Theme "Retro"
Set FontSize 14
Set Width 1000
@@ -10,11 +9,11 @@ Set Padding 0
Set Margin 1
# --- START ---
-Set LoopOffset 4
-Hide
-Type "cargo run -- -r -m l"
+Type 'cargo run -- -r -d -c "10000y"'
Enter
+Sleep .2
Type "m"
-Sleep 0.2
-Show
-Sleep 0.1
+# --- SCREENSHOT ---
+Sleep 1s
+Screenshot demo/countdown-max.png
+Sleep 1s
diff --git a/demo/countdown-met.gif b/demo/countdown-met.gif
deleted file mode 100644
index 1a55da8..0000000
Binary files a/demo/countdown-met.gif and /dev/null differ
diff --git a/demo/countdown-met.tape b/demo/countdown-met.tape
deleted file mode 100644
index e94ede6..0000000
--- a/demo/countdown-met.tape
+++ /dev/null
@@ -1,22 +0,0 @@
-Output demo/countdown-met.gif
-
-# https://github.com/charmbracelet/vhs/blob/main/THEMES.md
-Set Theme "iceberg-light"
-
-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 -c 3"
-Enter
-Sleep 0.2
-Show
-Type "s"
-Sleep 6
-Type "r"
-Sleep 1
diff --git a/demo/countdown-target-future.gif b/demo/countdown-target-future.gif
deleted file mode 100644
index bcd4638..0000000
Binary files a/demo/countdown-target-future.gif and /dev/null differ
diff --git a/demo/countdown-target-future.tape b/demo/countdown-target-future.tape
deleted file mode 100644
index 3a339a2..0000000
--- a/demo/countdown-target-future.tape
+++ /dev/null
@@ -1,20 +0,0 @@
-Output demo/countdown-target-future.gif
-
-# https://github.com/charmbracelet/vhs/blob/main/THEMES.md
-Set Theme "SeaShells"
-
-Set FontSize 14
-Set Width 1000
-Set Height 500
-Set Padding 0
-Set Margin 1
-
-# --- START ---
-Set LoopOffset 4
-Hide
-Type "cargo run -- -r -m c --ct '2030-01-10 18:00'"
-Enter
-Type "m"
-Sleep 0.2
-Show
-Sleep 0.1
diff --git a/demo/countdown-target-past.gif b/demo/countdown-target-past.gif
deleted file mode 100644
index 19c11d0..0000000
Binary files a/demo/countdown-target-past.gif and /dev/null differ
diff --git a/demo/countdown-target-past.tape b/demo/countdown-target-past.tape
deleted file mode 100644
index 550218d..0000000
--- a/demo/countdown-target-past.tape
+++ /dev/null
@@ -1,20 +0,0 @@
-Output demo/countdown-target-past.gif
-
-# https://github.com/charmbracelet/vhs/blob/main/THEMES.md
-Set Theme "seoulbones_light"
-
-Set FontSize 14
-Set Width 1000
-Set Height 500
-Set Padding 0
-Set Margin 1
-
-# --- START ---
-Set LoopOffset 4
-Hide
-Type "cargo run -- -r -m c --ct '2024-01-10 18:00'"
-Enter
-Type "m"
-Sleep 0.2
-Show
-Sleep 0.1
diff --git a/demo/countdown.gif b/demo/countdown.gif
index e9f82e0..edb4abc 100644
Binary files a/demo/countdown.gif and b/demo/countdown.gif differ
diff --git a/demo/countdown.tape b/demo/countdown.tape
index 2985431..2de524c 100644
--- a/demo/countdown.tape
+++ b/demo/countdown.tape
@@ -1,23 +1,24 @@
Output demo/countdown.gif
# https://github.com/charmbracelet/vhs/blob/main/THEMES.md
-Set Theme "Builtin Solarized Light"
+Set Theme "iceberg-light"
Set FontSize 14
-Set Width 800
-Set Height 400
+Set Width 1000
+Set Height 500
Set Padding 0
Set Margin 1
# --- START ---
Set LoopOffset 4
Hide
-Type "cargo run -- -r -d -m c"
+Type "cargo run -- -r -d -c 10:00"
Enter
-Sleep 0.2
+Sleep .2
+Type "m" # hide menu
Show
# --- COUNTDOWN ---
-Sleep 1
+Sleep .5
Type "s"
Sleep 1.4
Type "s"
@@ -28,6 +29,5 @@ Type "e"
Sleep 0.1
Down@10ms 65
Sleep 0.1
-Type "e"
-Sleep 0.1
+Type "s"
Sleep 3
diff --git a/demo/decis.gif b/demo/decis.gif
index 6116ec8..193f414 100644
Binary files a/demo/decis.gif and b/demo/decis.gif differ
diff --git a/demo/decis.tape b/demo/decis.tape
index 0aeadd9..f56fae9 100644
--- a/demo/decis.tape
+++ b/demo/decis.tape
@@ -4,8 +4,8 @@ Output demo/decis.gif
Set Theme "nord-light"
Set FontSize 14
-Set Width 800
-Set Height 400
+Set Width 1000
+Set Height 500
Set Padding 0
Set Margin 1
@@ -14,7 +14,8 @@ Set LoopOffset 4
Hide
Type "cargo run -- -r -m t"
Enter
-Sleep 0.2
+Sleep .2
+Type "m" # hide menu
Show
# --- STYLES ---
Type "s"
diff --git a/demo/event.gif b/demo/event.gif
index d336178..dd7b883 100644
Binary files a/demo/event.gif and b/demo/event.gif differ
diff --git a/demo/event.tape b/demo/event.tape
index e034e2e..c853d8b 100644
--- a/demo/event.tape
+++ b/demo/event.tape
@@ -4,8 +4,8 @@ Output demo/event.gif
Set Theme "Builtin Solarized Dark"
Set FontSize 14
-Set Width 800
-Set Height 400
+Set Width 1000
+Set Height 500
Set Padding 0
Set Margin 1
diff --git a/demo/local-time-date.gif b/demo/local-time-date.gif
deleted file mode 100644
index 48738a4..0000000
Binary files a/demo/local-time-date.gif and /dev/null differ
diff --git a/demo/local-time-footer.gif b/demo/local-time-footer.gif
index 267bbcf..0dfcfe5 100644
Binary files a/demo/local-time-footer.gif and b/demo/local-time-footer.gif differ
diff --git a/demo/local-time-footer.tape b/demo/local-time-footer.tape
index 0e852d2..03db09b 100644
--- a/demo/local-time-footer.tape
+++ b/demo/local-time-footer.tape
@@ -4,8 +4,8 @@ Output demo/local-time-footer.gif
Set Theme "AtomOneLight"
Set FontSize 14
-Set Width 800
-Set Height 400
+Set Width 1000
+Set Height 500
Set Padding 0
Set Margin 1
diff --git a/demo/local-time.gif b/demo/local-time.gif
index d7cb219..a9adb31 100644
Binary files a/demo/local-time.gif and b/demo/local-time.gif differ
diff --git a/demo/local-time.tape b/demo/local-time.tape
index 55de403..900edc9 100644
--- a/demo/local-time.tape
+++ b/demo/local-time.tape
@@ -4,8 +4,8 @@ Output demo/local-time.gif
Set Theme "Atom"
Set FontSize 14
-Set Width 800
-Set Height 400
+Set Width 1000
+Set Height 500
Set Padding 0
Set Margin 1
@@ -14,7 +14,8 @@ Set LoopOffset 4
Hide
Type "cargo run -- -m l"
Enter
-Sleep 0.2
+Sleep .2
+Type "m" # hide menu
Show
# --- toggle local time ---
-Type@1.5s ":::"
+Type@1s ":::"
diff --git a/demo/maximum.gif b/demo/maximum.gif
deleted file mode 100644
index 8e86be6..0000000
Binary files a/demo/maximum.gif and /dev/null differ
diff --git a/demo/maximum.tape b/demo/maximum.tape
deleted file mode 100644
index afc1843..0000000
--- a/demo/maximum.tape
+++ /dev/null
@@ -1,41 +0,0 @@
-Output demo/maximum.gif
-
-# https://github.com/charmbracelet/vhs/blob/main/THEMES.md
-Set Theme "C64"
-
-Set FontSize 14
-Set Width 1000
-Set Height 500
-Set Padding 0
-Set Margin 1
-
-# --- START ---
-Set LoopOffset 4
-Hide
-Type "cargo run -- -r -m timer"
-Enter
-Sleep 0.2
-Type "m"
-Type "e"
-# secs
-Up@1ms 60
-Left
-# mins
-Up@1ms 59
-Left
-# hours
-Up@1ms 23
-Left
-# days
-Up@1ms 364
-Right@1ms 3
-Down@1ms 1
-Left@1ms 4
-# years
-Up@1ms 998
-Right
-# days
-Up@1ms 365
-Type@1ms "s"
-Show
-Sleep 0.1
diff --git a/demo/menu.gif b/demo/menu.gif
index b4c602b..131b13f 100644
Binary files a/demo/menu.gif and b/demo/menu.gif differ
diff --git a/demo/menu.tape b/demo/menu.tape
index 2e2d1ff..82ff663 100644
--- a/demo/menu.tape
+++ b/demo/menu.tape
@@ -4,23 +4,24 @@ Output demo/menu.gif
Set Theme "Apple Classic"
Set FontSize 14
-Set Width 800
-Set Height 400
+Set Width 1000
+Set Height 500
Set Padding 0
Set Margin 1
# --- START ---
Set LoopOffset 4
Hide
-Type "cargo run -- -r -m p --menu"
+Type "cargo run -- -r -m c"
Enter
-Type@200ms "m"
+Type@200ms "m" # hide menu
Show
# --- STYLES ---
Sleep 0.3s
-Type@0.3s "m"
-Type@0.3s "t"
-Type@0.3s "c"
-Type@0.3s "p"
+Type@0.3s "m" # show menu
+Type@0.3s "2"
+Type@0.3s "3"
Type@0.3s "e"
Escape@0.3s
+Type@0.3s "4"
+Type@0.3s "0"
diff --git a/demo/pomodoro.gif b/demo/pomodoro.gif
index 2bb0bdb..8afd556 100644
Binary files a/demo/pomodoro.gif and b/demo/pomodoro.gif differ
diff --git a/demo/pomodoro.tape b/demo/pomodoro.tape
index 4fec186..c028478 100644
--- a/demo/pomodoro.tape
+++ b/demo/pomodoro.tape
@@ -1,32 +1,35 @@
+# Note: PR "support ctrl + arrow keys" https://github.com/charmbracelet/vhs/pull/673 needs to be merged to run this `tape`.
+
Output demo/pomodoro.gif
# https://github.com/charmbracelet/vhs/blob/main/THEMES.md
Set Theme "Catppuccin Frappe"
Set FontSize 14
-Set Width 800
-Set Height 400
+Set Width 1000
+Set Height 500
Set Padding 0
Set Margin 1
# --- START ---
Hide
-Type "cargo run -- -d -m p --blink on"
+Type "cd cargo run -- -r -d -m p --blink on"
Enter
-Sleep 0.2
+Sleep .2
+Type "m" # hide menu
Show
# --- POMODORO WORK ---
-Sleep 1
-Type "s"
+Sleep .5
+Type "s" # start
Sleep 2.3
Type "e"
Sleep 0.2
Down@30ms 80
Sleep 100ms
-Type "e"
+Type "s" # save
Sleep 4
# --- POMODORO PAUSE ---
-Right
+Ctrl+Right
Sleep 0.5
Type "s"
Sleep 2.3
@@ -34,5 +37,5 @@ Type "e"
Sleep 0.2
Down@30ms 60
Sleep 100ms
-Type "e"
+Type "s" # save
Sleep 4
diff --git a/demo/rocket-countdown_no-ds.gif b/demo/rocket-countdown_no-ds.gif
deleted file mode 100644
index 6df4044..0000000
Binary files a/demo/rocket-countdown_no-ds.gif and /dev/null differ
diff --git a/demo/style.gif b/demo/style.gif
index a2cd076..ae4387f 100644
Binary files a/demo/style.gif and b/demo/style.gif differ
diff --git a/demo/style.tape b/demo/style.tape
index ebe8887..1b35c5b 100644
--- a/demo/style.tape
+++ b/demo/style.tape
@@ -4,8 +4,8 @@ Output demo/style.gif
Set Theme "OneDark"
Set FontSize 14
-Set Width 800
-Set Height 400
+Set Width 1000
+Set Height 500
Set Padding 0
Set Margin 1
@@ -15,6 +15,7 @@ Hide
Type "cargo run -- -r -d -m c"
Enter
Sleep 0.2
+Type "m" # hide menu
Show
# --- STYLES ---
Sleep 0.5
diff --git a/demo/timer-max.png b/demo/timer-max.png
new file mode 100644
index 0000000..2893fe6
Binary files /dev/null and b/demo/timer-max.png differ
diff --git a/demo/timer-max.tape b/demo/timer-max.tape
new file mode 100644
index 0000000..2c140a7
--- /dev/null
+++ b/demo/timer-max.tape
@@ -0,0 +1,37 @@
+# https://github.com/charmbracelet/vhs/blob/main/THEMES.md
+Set Theme "SeaShells"
+
+Set FontSize 14
+Set Width 1000
+Set Height 500
+Set Padding 0
+Set Margin 1
+
+# --- START ---
+Type 'cargo run -- -r -m t'
+Enter
+Type "m"
+Type "e"
+Up@1ms 60 # ss
+Left
+Up@1ms 60 # mm
+Left
+Up@1ms 23 # hh
+Left
+Up@1ms 363 # ddd
+Left
+Up@1ms 9999 # yyyy
+Right 4
+Down # ss
+Left
+Down ## mm
+Left 2
+Down ## ddd
+Up 2
+Type "."
+Type "s" # save
+Type "s" # start to reach DONE
+Sleep 2s
+# --- SCREENSHOT ---
+Screenshot demo/timer-max.png
+Sleep 1s
diff --git a/demo/timer.gif b/demo/timer.gif
index 4028963..32d4d19 100644
Binary files a/demo/timer.gif and b/demo/timer.gif differ
diff --git a/demo/timer.tape b/demo/timer.tape
index 41e1370..851376e 100644
--- a/demo/timer.tape
+++ b/demo/timer.tape
@@ -4,8 +4,8 @@ Output demo/timer.gif
Set Theme "Belafonte Day"
Set FontSize 14
-Set Width 800
-Set Height 400
+Set Width 1000
+Set Height 500
Set Padding 0
Set Margin 1
@@ -15,6 +15,7 @@ Hide
Type "cargo run -- -r -d -m t"
Enter
Sleep 0.2
+Type "m" # hide menu
Show
# --- TIMER ---
Type "s"
@@ -27,5 +28,5 @@ Type "e"
Sleep 0.2
Up@30ms 57
Sleep 0.7
-Type "e"
+Type "s"
Sleep 4
diff --git a/justfile b/justfile
index 0217f0a..a02b123 100644
--- a/justfile
+++ b/justfile
@@ -65,6 +65,17 @@ run-sound-args path args:
# demos
+alias da := demo-all
+
+# build all demos
+[group('demo')]
+demo-all:
+ #!/usr/bin/env bash
+ for tape in demo/*.tape; do
+ echo "Building demo: $tape"
+ vhs "$tape"
+ done
+
alias dp := demo-pomodoro
# build demo: pomodoro
@@ -148,3 +159,17 @@ alias de := demo-event
[group('demo')]
demo-event:
vhs demo/event.tape
+
+alias dcmx := demo-countdown-max
+
+# build demo: timer-max
+[group('demo')]
+demo-countdown-max:
+ vhs demo/countdown-max.tape
+
+alias dtm := demo-timer-max
+
+# build demo: timer-max
+[group('demo')]
+demo-timer-max:
+ vhs demo/timer-max.tape