- Allow to install hooks that execute lua scripts on changes of watched files - Use gsetting to store shell parameters such as: theme, idle-timeout, etc.
9 lines
427 B
Lua
9 lines
427 B
Lua
local compiled_schemas = diya.system.user_config_dir() .. "/diya/schemas/gschemas.compiled"
|
|
|
|
if not diya.system.file_exists(compiled_schemas) then
|
|
diya.system.log_info("Regenerating "..compiled_schemas)
|
|
local script_path = debug.getinfo(1, "S").source:sub(2)
|
|
local script_dir = script_path:match("(.*/)")
|
|
local script_compile_schemas = script_dir .. "/compile_schemas.lua"
|
|
dofile(script_compile_schemas)
|
|
end |