From aa537825ccb2804fd725952a5ebd91bab76bece8 Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Wed, 10 Apr 2024 19:32:58 -0400 Subject: setup: Limit to only run on folk-live for now --- virtual-programs/setup/setup.folk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'virtual-programs') diff --git a/virtual-programs/setup/setup.folk b/virtual-programs/setup/setup.folk index 8071471a..f53cc06a 100644 --- a/virtual-programs/setup/setup.folk +++ b/virtual-programs/setup/setup.folk @@ -1,3 +1,5 @@ +if {[exec hostname] ne "folk-live"} { return } + 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" -- cgit v1.2.3