mirror of
https://github.com/MeexReay/poshlostios.git
synced 2025-06-24 02:22:58 +03:00
sexplorer
This commit is contained in:
parent
6dad6847e3
commit
cede5caa21
@ -3,6 +3,5 @@
|
||||
"version": "0.1.4",
|
||||
"description": "Hello Message",
|
||||
"author": "MeexReay",
|
||||
"apps": [ "hello.js" ],
|
||||
"configs": []
|
||||
"apps": [ "hello.js" ]
|
||||
}
|
@ -3,6 +3,5 @@
|
||||
"version": "0.1.2",
|
||||
"description": "Keep Files Customized",
|
||||
"author": "MeexReay",
|
||||
"apps": [ "kfc.js" ],
|
||||
"configs": []
|
||||
"apps": [ "kfc.js" ]
|
||||
}
|
@ -4,6 +4,5 @@
|
||||
"description": "Mega eXtreme Window Manager",
|
||||
"author": "MeexReay",
|
||||
"apps": [ "zcom.js", "startz.js", "zhelp.js" ],
|
||||
"configs": [],
|
||||
"depends": [ "poki", "zterm" ]
|
||||
"depends": [ "poki", "zterm", "sexp" ]
|
||||
}
|
||||
|
@ -32,6 +32,7 @@ function draw(ctx) {
|
||||
async function main(args) {
|
||||
let [wid, ctx] = createWindow({
|
||||
"title": "help page",
|
||||
"app_id": "zhelp",
|
||||
"x": 50,
|
||||
"y": 50,
|
||||
"width": 420,
|
||||
|
@ -3,6 +3,5 @@
|
||||
"version": "0.1.4",
|
||||
"description": "neofetch damn",
|
||||
"author": "MeexReay",
|
||||
"apps": [ "neofetch.js" ],
|
||||
"configs": []
|
||||
"apps": [ "neofetch.js" ]
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "poki",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"description": "Poki desktop deck",
|
||||
"author": "MeexReay",
|
||||
"apps": [ "poki.js" ],
|
||||
|
@ -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",
|
||||
"title": "zterm - terminal emulator",
|
||||
"icon": "app/mxwm/zterm.png",
|
||||
"icon": "app/zterm/zterm.png",
|
||||
"script": ["/app/zterm.js"]
|
||||
}
|
||||
]
|
@ -3,6 +3,5 @@
|
||||
"version": "0.1.0",
|
||||
"description": "Poshliye Utiliti",
|
||||
"author": "MeexReay",
|
||||
"apps": [ "bump.js", "cat.js", "cp.js", "ls.js", "mkdir.js", "mv.js", "rm.js" ],
|
||||
"configs": []
|
||||
"apps": [ "bump.js", "cat.js", "cp.js", "ls.js", "mkdir.js", "mv.js", "rm.js" ]
|
||||
}
|
@ -3,6 +3,5 @@
|
||||
"version": "0.1.0",
|
||||
"description": "Resets system to a newborn",
|
||||
"author": "MeexReay",
|
||||
"apps": [ "reset.js" ],
|
||||
"configs": []
|
||||
"apps": [ "reset.js" ]
|
||||
}
|
7
app/sexp/package.json
Normal file
7
app/sexp/package.json
Normal 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
30
app/sexp/sexp.js
Normal 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
BIN
app/sexp/sexp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 116 KiB |
@ -3,6 +3,5 @@
|
||||
"version": "0.1.0",
|
||||
"description": "Vulgar get",
|
||||
"author": "MeexReay",
|
||||
"apps": [ "vget.js" ],
|
||||
"configs": []
|
||||
"apps": [ "vget.js" ]
|
||||
}
|
@ -3,6 +3,5 @@
|
||||
"version": "0.1.3",
|
||||
"description": "Wisdom Order Manuals",
|
||||
"author": "MeexReay",
|
||||
"apps": [ "woman.js" ],
|
||||
"configs": []
|
||||
"apps": [ "woman.js" ]
|
||||
}
|
@ -3,6 +3,5 @@
|
||||
"version": "0.1.0",
|
||||
"description": "Zcom Terminal Emulator",
|
||||
"author": "MeexReay",
|
||||
"apps": [ "zterm.js" ],
|
||||
"configs": [ ]
|
||||
"apps": [ "zterm.js" ]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user