package cleanup
This commit is contained in:
@@ -122,15 +122,4 @@ Needs work
|
|||||||
\0300\128\030f\159\129\138\0300\031f\143\149\030f\0310\134",
|
\0300\128\030f\159\129\138\0300\031f\143\149\030f\0310\134",
|
||||||
run = "https://pastebin.com/raw/jyDH7mLH",
|
run = "https://pastebin.com/raw/jyDH7mLH",
|
||||||
},
|
},
|
||||||
[ "58ec8d6e36e346d9f42eb43935652e3e58e2c829" ] = {
|
|
||||||
title = "Mwm",
|
|
||||||
category = "Apps",
|
|
||||||
icon = "\030f\031f \0304 \
|
|
||||||
\030f\031dshell]\0304\0314 \
|
|
||||||
\0304\031f ",
|
|
||||||
iconExt = "\030 \031f\0305\031f\155\030f\128\031d\152\140\030d\031f\151\030f\128\128\0304\0314\128\
|
|
||||||
\030 \031f\030f\0315\152\129\030d\031f\141\030f\031d\153\030d\031f\149\030f\031d\131\148\0304\0314\128\
|
|
||||||
\030 \031f\0304\031f\131\131\131\131\131\131\131\030e\0314\131",
|
|
||||||
run = "mwm.lua usr/config/mwm",
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,22 +0,0 @@
|
|||||||
-- saves a virtual file to disk
|
|
||||||
|
|
||||||
_G.requireInjector(_ENV)
|
|
||||||
|
|
||||||
local Util = require('util')
|
|
||||||
|
|
||||||
local fs = _G.fs
|
|
||||||
local shell = _ENV.shell
|
|
||||||
|
|
||||||
local args = { ... }
|
|
||||||
local fileName = args[1] and
|
|
||||||
shell.resolve(args[1]) or
|
|
||||||
error('Syntax: persist <file name>')
|
|
||||||
|
|
||||||
local c = Util.readFile(fileName) or error('Unable to read file')
|
|
||||||
|
|
||||||
-- ensure it is writable - if not an error is thrown
|
|
||||||
Util.writeFile(fileName, '')
|
|
||||||
fs.delete(fileName)
|
|
||||||
Util.writeFile(fileName, c)
|
|
||||||
|
|
||||||
print('Saved')
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
_G.requireInjector()
|
_G.requireInjector(_ENV)
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
Requirements:
|
Requirements:
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ local options = {
|
|||||||
chunks = { arg = 'c', type = 'number', value = -1,
|
chunks = { arg = 'c', type = 'number', value = -1,
|
||||||
desc = 'Number of chunks to mine' },
|
desc = 'Number of chunks to mine' },
|
||||||
setTrash = { arg = 's', type = 'flag', value = false,
|
setTrash = { arg = 's', type = 'flag', value = false,
|
||||||
desc = 'Set trash items' },
|
desc = 'Add ignore items' },
|
||||||
help = { arg = 'h', type = 'flag', value = false,
|
help = { arg = 'h', type = 'flag', value = false,
|
||||||
desc = 'Displays the options' },
|
desc = 'Displays the options' },
|
||||||
}
|
}
|
||||||
|
|||||||
6
monitor/.package
Normal file
6
monitor/.package
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
title = 'Various monitor related programs',
|
||||||
|
repository = 'kepler155c/opus-apps/{{OPUS_BRANCH}}/monitor',
|
||||||
|
description = [[Mirror terminal to monitor, Monitor Window Manager (mwm), and more]],
|
||||||
|
licence = 'MIT',
|
||||||
|
}
|
||||||
13
monitor/etc/opus.db
Normal file
13
monitor/etc/opus.db
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
[ "58ec8d6e36e346d9f42eb43935652e3e58e2c829" ] = {
|
||||||
|
title = "Mwm",
|
||||||
|
category = "Apps",
|
||||||
|
icon = "\030f\031f \0304 \
|
||||||
|
\030f\031dshell]\0304\0314 \
|
||||||
|
\0304\031f ",
|
||||||
|
iconExt = "\030 \031f\0305\031f\155\030f\128\031d\152\140\030d\031f\151\030f\128\128\0304\0314\128\
|
||||||
|
\030 \031f\030f\0315\152\129\030d\031f\141\030f\031d\153\030d\031f\149\030f\031d\131\148\0304\0314\128\
|
||||||
|
\030 \031f\0304\031f\131\131\131\131\131\131\131\030e\0314\131",
|
||||||
|
run = "mwm.lua usr/config/mwm",
|
||||||
|
},
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user