sexplorer

This commit is contained in:
MeexReay 2025-05-25 20:01:22 +03:00
parent 6dad6847e3
commit cede5caa21
15 changed files with 61 additions and 20 deletions

View File

@ -3,6 +3,5 @@
"version": "0.1.4", "version": "0.1.4",
"description": "Hello Message", "description": "Hello Message",
"author": "MeexReay", "author": "MeexReay",
"apps": [ "hello.js" ], "apps": [ "hello.js" ]
"configs": []
} }

View File

@ -3,6 +3,5 @@
"version": "0.1.2", "version": "0.1.2",
"description": "Keep Files Customized", "description": "Keep Files Customized",
"author": "MeexReay", "author": "MeexReay",
"apps": [ "kfc.js" ], "apps": [ "kfc.js" ]
"configs": []
} }

View File

@ -4,6 +4,5 @@
"description": "Mega eXtreme Window Manager", "description": "Mega eXtreme Window Manager",
"author": "MeexReay", "author": "MeexReay",
"apps": [ "zcom.js", "startz.js", "zhelp.js" ], "apps": [ "zcom.js", "startz.js", "zhelp.js" ],
"configs": [], "depends": [ "poki", "zterm", "sexp" ]
"depends": [ "poki", "zterm" ]
} }

View File

@ -32,6 +32,7 @@ function draw(ctx) {
async function main(args) { async function main(args) {
let [wid, ctx] = createWindow({ let [wid, ctx] = createWindow({
"title": "help page", "title": "help page",
"app_id": "zhelp",
"x": 50, "x": 50,
"y": 50, "y": 50,
"width": 420, "width": 420,

View File

@ -3,6 +3,5 @@
"version": "0.1.4", "version": "0.1.4",
"description": "neofetch damn", "description": "neofetch damn",
"author": "MeexReay", "author": "MeexReay",
"apps": [ "neofetch.js" ], "apps": [ "neofetch.js" ]
"configs": []
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "poki", "name": "poki",
"version": "0.1.0", "version": "0.1.1",
"description": "Poki desktop deck", "description": "Poki desktop deck",
"author": "MeexReay", "author": "MeexReay",
"apps": [ "poki.js" ], "apps": [ "poki.js" ],

View File

@ -1,8 +1,20 @@
[ [
{
"id": "zhelp",
"title": "help page",
"icon": "app/mxwm/zhelp.png",
"script": ["/app/zhelp.js"]
},
{
"id": "sexp",
"title": "sexp explorer",
"icon": "app/sexp/sexp.png",
"script": ["/app/sexp.js"]
},
{ {
"id": "zterm", "id": "zterm",
"title": "zterm - terminal emulator", "title": "zterm - terminal emulator",
"icon": "app/mxwm/zterm.png", "icon": "app/zterm/zterm.png",
"script": ["/app/zterm.js"] "script": ["/app/zterm.js"]
} }
] ]

View File

@ -3,6 +3,5 @@
"version": "0.1.0", "version": "0.1.0",
"description": "Poshliye Utiliti", "description": "Poshliye Utiliti",
"author": "MeexReay", "author": "MeexReay",
"apps": [ "bump.js", "cat.js", "cp.js", "ls.js", "mkdir.js", "mv.js", "rm.js" ], "apps": [ "bump.js", "cat.js", "cp.js", "ls.js", "mkdir.js", "mv.js", "rm.js" ]
"configs": []
} }

View File

@ -3,6 +3,5 @@
"version": "0.1.0", "version": "0.1.0",
"description": "Resets system to a newborn", "description": "Resets system to a newborn",
"author": "MeexReay", "author": "MeexReay",
"apps": [ "reset.js" ], "apps": [ "reset.js" ]
"configs": []
} }

7
app/sexp/package.json Normal file
View File

@ -0,0 +1,7 @@
{
"name": "sexp",
"version": "0.0.0-test",
"description": "Simple Explorer Program",
"author": "MeexReay",
"apps": [ "sexp.js" ]
}

30
app/sexp/sexp.js Normal file
View File

@ -0,0 +1,30 @@
eval(readFile("/app/zcom.js"))
async function draw(ctx) {
ctx.fillStyle = "darkgray";
ctx.fillRect(0, 0, ctx.canvas.width, ctx.canvas.height);
}
async function main(args) {
let wid, ctx
[wid, ctx] = createWindow({
"title": "sexp",
"x": 50,
"y": 50,
"width": 500,
"height": 500,
"onresize": () => draw(ctx)
})
draw(ctx)
while (graphics_canvas != null) {
await new Promise(resolve => setTimeout(resolve, 100))
draw(ctx)
}
closeWindow(wid)
return 0
}

BIN
app/sexp/sexp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

View File

@ -3,6 +3,5 @@
"version": "0.1.0", "version": "0.1.0",
"description": "Vulgar get", "description": "Vulgar get",
"author": "MeexReay", "author": "MeexReay",
"apps": [ "vget.js" ], "apps": [ "vget.js" ]
"configs": []
} }

View File

@ -3,6 +3,5 @@
"version": "0.1.3", "version": "0.1.3",
"description": "Wisdom Order Manuals", "description": "Wisdom Order Manuals",
"author": "MeexReay", "author": "MeexReay",
"apps": [ "woman.js" ], "apps": [ "woman.js" ]
"configs": []
} }

View File

@ -3,6 +3,5 @@
"version": "0.1.0", "version": "0.1.0",
"description": "Zcom Terminal Emulator", "description": "Zcom Terminal Emulator",
"author": "MeexReay", "author": "MeexReay",
"apps": [ "zterm.js" ], "apps": [ "zterm.js" ]
"configs": [ ]
} }