summaryrefslogtreecommitdiffstats
path: root/virtual-programs
diff options
context:
space:
mode:
authorOmar Rizwan <omar@omar.website>2024-04-10 07:08:29 +0000
committerOmar Rizwan <omar@omar.website>2024-04-10 07:08:29 +0000
commitb60dd1c83746c46140c9b2de8b1bc106ff9f16c0 (patch)
treef5bd811279b41d6229a03378499489b63e3b8f34 /virtual-programs
parentMove web endpoints into subfolder (diff)
downloadfolk-b60dd1c83746c46140c9b2de8b1bc106ff9f16c0.tar.gz
folk-b60dd1c83746c46140c9b2de8b1bc106ff9f16c0.zip
setup: WIP: First draft
Diffstat (limited to 'virtual-programs')
-rw-r--r--virtual-programs/setup/setup.folk21
1 files changed, 21 insertions, 0 deletions
diff --git a/virtual-programs/setup/setup.folk b/virtual-programs/setup/setup.folk
new file mode 100644
index 00000000..2e25c83e
--- /dev/null
+++ b/virtual-programs/setup/setup.folk
@@ -0,0 +1,21 @@
+When the display /disp/ has width /displayWidth/ height /displayHeight/ {
+ set cx [/ $displayWidth 2.0]; set cy [/ $displayHeight 2.0]
+ Wish to draw text with x $cx y [/ $cy 2.0] text "Welcome to Folk"
+
+ # TODO: a terminal
+ set terminalWidth [/ $displayWidth 2.0]
+ set terminalHeight [/ $displayHeight 2.0]
+ set terminalRegion [region fromRect \
+ [/ $displayWidth 5.0] [/ $displayHeight 5.0] \
+ $terminalWidth $terminalHeight]
+ Claim $this has terminal region $terminalRegion
+ Claim $this has keyboard input
+
+ # TODO: internet status
+ # TODO: document how to set up wifi
+
+
+ # TODO: git status
+
+ # TODO: calibrate instructions
+}