Api/minux.getconfig()

From Minux Wiki
Revision as of 22:57, 8 October 2024 by Shorun (talk | contribs) (Created page with "minux api used to get the system's configuration '''usage:''' local string = minux.getconfig(type) '''Arguments:''' - login | return can be: "network", "local", "disabled" - - update | return can be: "always, "enabled", "disabled" - ui | return can be: "prompt", "menu" or "workspace" - debug | return can be: "disabled", "enabled", "logging", "full" '''output:''' gets the desired setting local temp = minux.getconfig("login") - retrieves this ma...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

minux api used to get the system's configuration


usage:

local string = minux.getconfig(type)


Arguments:

- login | return can be: "network", "local", "disabled" -

- update | return can be: "always, "enabled", "disabled"

- ui | return can be: "prompt", "menu" or "workspace"

- debug | return can be: "disabled", "enabled", "logging", "full"


output:

gets the desired setting


local temp = minux.getconfig("login") - retrieves this machine's login settings.