aboutsummaryrefslogtreecommitdiff
path: root/social
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2023-04-22 15:33:08 -0400
committerShav Kinderlehrer <[email protected]>2023-04-22 15:33:08 -0400
commit51588e455b5e679866789ec4cac3521e68e38284 (patch)
treed2db2ad649350e74292af38988c21a63cc48f6c3 /social
parentb7b16197f9a8e253a1c0c2ead7564fbf9a047275 (diff)
downloadlat-51588e455b5e679866789ec4cac3521e68e38284.tar.gz
lat-51588e455b5e679866789ec4cac3521e68e38284.zip
Update README
- QOL for *.tape files
Diffstat (limited to 'social')
-rw-r--r--social/binary.tape1
-rw-r--r--social/color.tape3
-rw-r--r--social/fzf_embed.tape45
-rw-r--r--social/headers.tape3
-rw-r--r--social/line_numbers.tape1
-rw-r--r--social/literal.tape3
-rw-r--r--social/name.tape37
-rw-r--r--social/pager.tape3
8 files changed, 43 insertions, 53 deletions
diff --git a/social/binary.tape b/social/binary.tape
index 1d72483..814738b 100644
--- a/social/binary.tape
+++ b/social/binary.tape
@@ -10,7 +10,6 @@ Set FontSize 32
Set Width 2400
Set Height 1200
Set TypingSpeed 0.2
-Set PlaybackSpeed 0.5
Type "lat src/main.c"
Sleep 2s
diff --git a/social/color.tape b/social/color.tape
index 2fbae90..f7bc94a 100644
--- a/social/color.tape
+++ b/social/color.tape
@@ -10,7 +10,6 @@ Set FontSize 32
Set Width 2400
Set Height 1200
Set TypingSpeed 0.2
-Set PlaybackSpeed 0.5
Type "lat src/main.c"
Sleep 2s
@@ -24,7 +23,7 @@ Enter
Sleep 2s
-Type "lat --color src/main.c"
+Type "lat -c src/main.c"
Sleep 2s
Enter
diff --git a/social/fzf_embed.tape b/social/fzf_embed.tape
index 1b65489..81e2367 100644
--- a/social/fzf_embed.tape
+++ b/social/fzf_embed.tape
@@ -11,7 +11,7 @@ Set Width 2400
Set Height 1200
Set TypingSpeed 0.2
-Type "fzf --preview 'lat -l {}'"
+Type "fzf --preview 'lat -r {}'"
Sleep 1s
Enter
@@ -32,49 +32,8 @@ Sleep 3s
Backspace 7
Sleep 2s
-Up
-Sleep 3s
-
-Up
-Sleep 3s
-
-Up
-Sleep 3s
-
-Up
-Sleep 3s
-
-Up
-Sleep 3s
-
-Up
-Sleep 3s
-
-Up
-Sleep 3s
-
-Up
-Sleep 3s
-
-Up
-Sleep 3s
-
-Up
-Sleep 3s
-
-Up
-Sleep 3s
-
-Up
-Sleep 3s
-
-Up
-Sleep 3s
-
-Up
-Sleep 3s
+Up@3s 15
-Up
Sleep 3s
Enter
diff --git a/social/headers.tape b/social/headers.tape
index 2116960..4a36e6f 100644
--- a/social/headers.tape
+++ b/social/headers.tape
@@ -10,7 +10,6 @@ Set FontSize 32
Set Width 2400
Set Height 1200
Set TypingSpeed 0.2
-Set PlaybackSpeed 0.5
Type "lat src/main.c"
Sleep 2s
@@ -24,7 +23,7 @@ Enter
Sleep 2s
-Type "lat --headers src/main.c"
+Type "lat -t src/main.c"
Sleep 2s
Enter
diff --git a/social/line_numbers.tape b/social/line_numbers.tape
index 0e2a24f..ca67fe5 100644
--- a/social/line_numbers.tape
+++ b/social/line_numbers.tape
@@ -10,7 +10,6 @@ Set FontSize 32
Set Width 2400
Set Height 1200
Set TypingSpeed 0.2
-Set PlaybackSpeed 0.5
Type "lat src/main.c"
Sleep 2s
diff --git a/social/literal.tape b/social/literal.tape
index 9077018..152c8c9 100644
--- a/social/literal.tape
+++ b/social/literal.tape
@@ -10,7 +10,6 @@ Set FontSize 32
Set Width 2400
Set Height 1200
Set TypingSpeed 0.2
-Set PlaybackSpeed 0.5
Type "lat src/main.c > example.c"
Sleep 2s
@@ -30,7 +29,7 @@ Enter
Sleep 2s
-Type "lat --literal src/main.c > example.c"
+Type "lat -r src/main.c > example.c"
Sleep 2s
Enter
diff --git a/social/name.tape b/social/name.tape
new file mode 100644
index 0000000..1ce6123
--- /dev/null
+++ b/social/name.tape
@@ -0,0 +1,37 @@
+Require lat
+Output social/render/name.gif
+
+Set Theme "Gruvbox Dark"
+Set WindowBar Rings
+Set BorderRadius 10
+Set Margin 10
+
+Set FontSize 32
+Set Width 2400
+Set Height 1200
+Set TypingSpeed 0.2
+
+Type "lat"
+Sleep 2s
+Enter
+
+Type "hello, world!"
+Enter
+Sleep 3s
+
+Ctrl+d
+
+Sleep 3s
+
+Type "lat -n "custom name" src/main.c"
+Sleep 2s
+Enter
+
+Type "hello, world!"
+Enter
+Sleep 3s
+
+Ctrl+d
+
+Sleep 4s
+
diff --git a/social/pager.tape b/social/pager.tape
index 2a5ec49..604294d 100644
--- a/social/pager.tape
+++ b/social/pager.tape
@@ -10,7 +10,6 @@ Set FontSize 32
Set Width 2400
Set Height 1200
Set TypingSpeed 0.2
-Set PlaybackSpeed 0.5
Type "lat src/main.c"
Sleep 2s
@@ -24,7 +23,7 @@ Enter
Sleep 2s
-Type "lat --pager src/main.c"
+Type "lat -p src/main.c"
Sleep 2s
Enter