87 lines · 1.4 KB
# glaze.nvim Demo
# Records the main UI and update flow
#
# Requirements:
#   - vhs (brew install vhs)
#   - nvim >= 0.9
#   - go installed
#
# Run: vhs docs/demo.tape

Output docs/demo.gif

Require nvim
Require go

Set Shell bash
Set FontSize 14
Set Width 1000
Set Height 600
Set Theme "Catppuccin Mocha"
Set WindowBar Colorful
Set Padding 15
Set TypingSpeed 30ms
Set CursorBlink false

# Hidden setup - isolate config and set up environment
Hide
Type "export XDG_CONFIG_HOME=/tmp/vhs-glaze-config"
Enter
Type "export XDG_DATA_HOME=/tmp/vhs-glaze-data"
Enter
Type "mkdir -p /tmp/vhs-glaze-config /tmp/vhs-glaze-data /tmp/glaze-demo && cd /tmp/glaze-demo"
Enter
Sleep 200ms

# Create empty file to open
Type "touch demo.lua"
Enter
Sleep 200ms
Type "clear"