Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,13 @@ _(theme depends on your terminal preferences)_
<img alt="pomodoro" src="demo/timer.gif" />
</a>

## Countdown
## Countdown (*incl. [Mission Elapsed Time](https://en.wikipedia.org/wiki/Mission_Elapsed_Time)*)

<a href="demo/countdown.gif">
<img alt="countdown" src="demo/countdown.gif" />
</a>

## Countdown: Mission Elapsed Time ([MET](https://en.wikipedia.org/wiki/Mission_Elapsed_Time))

<a href="demo/countdown-met.gif">
<img alt="Countdown: Mission Elapsed Time" src="demo/countdown-met.gif" />
</a>

## Event (past/future)
## Event (*past/future*)

<a href="demo/event.gif">
<img alt="event" src="demo/event.gif" />
Expand All @@ -61,7 +55,7 @@ _(theme depends on your terminal preferences)_
<img alt="local time" src="demo/local-time.gif" />
</a>

## Local time (footer)
## Local time (*footer*)

<a href="demo/local-time-footer.gif">
<img alt="local time at footer" src="demo/local-time-footer.gif" />
Expand All @@ -73,6 +67,13 @@ _(theme depends on your terminal preferences)_
<img alt="deciseconds" src="demo/decis.gif" />
</a>

## Maximum (*`9999y`* *`364d`* *`23:59:59.9`*)

<a href="demo/timer-max.png">
<img alt="maximum" src="demo/timer-max.png" />
</a>


## Change style

<a href="demo/style.gif">
Expand Down
Binary file modified demo/blink.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions demo/blink.tape
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Binary file added demo/countdown-max.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 7 additions & 8 deletions demo/local-time-date.tape → demo/countdown-max.tape
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Binary file removed demo/countdown-met.gif
Binary file not shown.
22 changes: 0 additions & 22 deletions demo/countdown-met.tape

This file was deleted.

Binary file removed demo/countdown-target-future.gif
Binary file not shown.
20 changes: 0 additions & 20 deletions demo/countdown-target-future.tape

This file was deleted.

Binary file removed demo/countdown-target-past.gif
Binary file not shown.
20 changes: 0 additions & 20 deletions demo/countdown-target-past.tape

This file was deleted.

Binary file modified demo/countdown.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions demo/countdown.tape
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -28,6 +29,5 @@ Type "e"
Sleep 0.1
Down@10ms 65
Sleep 0.1
Type "e"
Sleep 0.1
Type "s"
Sleep 3
Binary file modified demo/decis.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions demo/decis.tape
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"
Expand Down
Binary file modified demo/event.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions demo/event.tape
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Binary file removed demo/local-time-date.gif
Binary file not shown.
Binary file modified demo/local-time-footer.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions demo/local-time-footer.tape
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Binary file modified demo/local-time.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 5 additions & 4 deletions demo/local-time.tape
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 ":::"
Binary file removed demo/maximum.gif
Binary file not shown.
41 changes: 0 additions & 41 deletions demo/maximum.tape

This file was deleted.

Binary file modified demo/menu.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 9 additions & 8 deletions demo/menu.tape
Original file line number Diff line number Diff line change
Expand Up @@ -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
[email protected] "m"
[email protected] "t"
[email protected] "c"
[email protected] "p"
[email protected] "m" # show menu
[email protected] "2"
[email protected] "3"
[email protected] "e"
[email protected]
[email protected] "4"
[email protected] "0"
Binary file modified demo/pomodoro.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 12 additions & 9 deletions demo/pomodoro.tape
Original file line number Diff line number Diff line change
@@ -1,38 +1,41 @@
# 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
Type "e"
Sleep 0.2
Down@30ms 60
Sleep 100ms
Type "e"
Type "s" # save
Sleep 4
Binary file removed demo/rocket-countdown_no-ds.gif
Binary file not shown.
Binary file modified demo/style.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions demo/style.tape
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down
Binary file added demo/timer-max.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading