diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-11-16 21:27:13 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-11-16 21:27:13 -0500 |
| commit | 9d5bc5be7be2f88ff6fed8e11986a6595ee50290 (patch) | |
| tree | d1d107e45bedaaa0477de238909567a165f6aaad | |
| parent | 5831eebe389b06743ad04861719e0321faa302ae (diff) | |
| download | bits-UI-9d5bc5be7be2f88ff6fed8e11986a6595ee50290.tar.gz bits-UI-9d5bc5be7be2f88ff6fed8e11986a6595ee50290.tar.bz2 bits-UI-9d5bc5be7be2f88ff6fed8e11986a6595ee50290.zip | |
Added watermark to desktop
| -rw-r--r-- | System/boot.lua | 6 | ||||
| -rw-r--r-- | System/desktop.lua | 5 | ||||
| -rw-r--r-- | System/post-setup.lua | 2 |
3 files changed, 9 insertions, 4 deletions
diff --git a/System/boot.lua b/System/boot.lua index 2b81f8f..d1d2ff9 100644 --- a/System/boot.lua +++ b/System/boot.lua @@ -20,7 +20,7 @@ term.clear() term.setCursorPos(1,1) print("Starting up bits-UI ".. version .."...") - +term.setTextColor(colours.yellow) print(_HOST) --[[ @@ -42,7 +42,7 @@ else os.shutdown() end - + if fs.exists(desktop) then term.setTextColor(colors.green) print("[OK] Desktop has been found...") @@ -87,4 +87,4 @@ term.setTextColor(colors.green) print("[DONE] Boot sequence has been completed...") term.setTextColor(colors.white) sleep(3) -shell.run(desktop)
\ No newline at end of file +shell.run(desktop) diff --git a/System/desktop.lua b/System/desktop.lua index 786b668..12f5a9f 100644 --- a/System/desktop.lua +++ b/System/desktop.lua @@ -18,6 +18,7 @@ local backgroundColour = 32768 local backgroundImage = "/home/.background" local panelColour = 8192 local appTitle = "[Programs]" +local w, h = term.getSize(); function drawPanel() local time = os.time() @@ -38,6 +39,10 @@ function drawDesktop() bground = paintutils.loadImage(backgroundImage) paintutils.drawImage(bground,1,1) drawPanel() + term.setCursorPos(1,17) + term.setBackgroundColor(colours.black) + write("bits-UI 1.0 Alpha 2\n") + write("Licensed with GPL-3.0") end --[[ if fs.exists("/programs") then diff --git a/System/post-setup.lua b/System/post-setup.lua index 802e597..9a13808 100644 --- a/System/post-setup.lua +++ b/System/post-setup.lua @@ -23,7 +23,7 @@ term.setTextColor(colors.white) print("Welcome to the bits-UI Post Setup!") sleep(2) --[[print("Please enter your password.") ---print("(Don't set your real password in servers.)") +print("(Don't set your real password in Minecraft Servers!)") local passPath = "/etc/passwd.pwd" if fs.exists(passPath) then |
