From ecba003c4053d75bd634222c6b16ae38efdc9350 Mon Sep 17 00:00:00 2001 From: CadenCoaster <114967401+cadenthecreator@users.noreply.github.com> Date: Sat, 18 Oct 2025 11:21:50 -0700 Subject: [PATCH] Update startup.lua --- startup.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/startup.lua b/startup.lua index fa4025a..49a9683 100644 --- a/startup.lua +++ b/startup.lua @@ -1,5 +1,6 @@ --os.pullEvent = os.pullEventRaw local window = require("libs.window") +local nft = require "cc.image.nft" local wrap = require("cc.strings").wrap _G.threads = {} _G.windows = {} @@ -64,6 +65,7 @@ local function windows() end local function desktop() + local image = nft.load(".wallpaper.nft") local w, h = term.getSize() term.setBackgroundColor(colors.lightGray) term.clear() @@ -71,6 +73,9 @@ local function desktop() term.setTextColor(colors.white) term.setBackgroundColor(colors.gray) term.write(" Desktop ") + if image then + nft.draw(image,1,1) + end end local threading = require("libs.threading") local compat = require("libs.compat")