Compare commits

...

2 Commits

Author SHA1 Message Date
ea6fe2d5cb
doc: improve treefmt.gif
Add some whitespace to each file in the examples folder before applying to demonstrate formatting occurring.

Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-05-03 20:04:13 +01:00
4a6fbf943c
fix: vhs command wrapper
Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-05-03 20:03:40 +01:00
3 changed files with 6 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -11,13 +11,15 @@ Set Height 220
Set Padding 20 Set Padding 20
Hide Hide
Type "TEMP_DIR=$(mktemp -d) && rsync -av $PRJ_ROOT/test/examples/ $TEMP_DIR && cd $TEMP_DIR && clear" Type "TEMP_DIR=$(mktemp -d) && rsync -av $PRJ_ROOT/test/examples/ $TEMP_DIR && pushd $TEMP_DIR && clear"
Enter
Type "find . -type f -exec sh -c 'echo " " >> {}' \;"
Enter Enter
Type "alias treefmt='treefmt --allow-missing-formatter' && clear" Type "alias treefmt='treefmt --allow-missing-formatter' && clear"
Enter Enter
Show Show
Type "treefmt -c" Type "treefmt"
Sleep 1s Sleep 1s
Enter Enter
@ -32,5 +34,5 @@ Enter
Sleep 5s Sleep 5s
Hide Hide
Type "cd && rm -rf $TEMP_DIR" Type "popd && rm -rf $TEMP_DIR"
Enter Enter

View File

@ -51,11 +51,9 @@ _: {
} }
{ {
inherit category; inherit category;
name = "vhs";
help = "generate terminal gifs"; help = "generate terminal gifs";
package = pkgs.writeShellApplication { package = pkgs.writeShellApplication {
name = "gif"; name = "vhs";
runtimeInputs = runtimeInputs =
[ [
self'.packages.treefmt self'.packages.treefmt