charmbracelet / vhs

Your CLI home video recorder 📼
MIT License
15.37k stars 261 forks source link

Allow to scale WindowBar #339

Closed jtdLab closed 1 year ago

jtdLab commented 1 year ago

When using Set WindowBar Colorful and a bigger fontsize the dots seems small often times compared to the font.

Is it possible to scale the WindowBar accordingly?

bashbunni commented 1 year ago

Hey @jtdLab have you tried setting the WindowBarSize attribute? Did that give you the intended effect?

e.g.

Output "examples/settings/set-bar.gif"
Set FontSize 25
Set Width 600
Set Height 300
Set Padding 20

Set WindowBar Colorful
Set WindowBarSize 40

Type "I have a bar!"
Sleep 2s

Let us know if that works for you!

jtdLab commented 1 year ago

Big time 🔥 Thank you so much. Is that documented somewhere?

bashbunni commented 1 year ago

I just searched for WindowBar in the GitHub search bar and this example popped up from one of the READMEs :)

https://github.com/charmbracelet/vhs/blob/56b1e964e5da2dd75eb65ea6ccb113a817761140/examples/settings/README.md?plain=1#L147