mirror of https://github.com/sayanarijit/xplr
Delete init.lua
parent
82a822be45
commit
f743b2c0ae
@ -1,23 +0,0 @@
|
||||
xplr.config.layouts.builtin.default = {
|
||||
Dynamic = "custom.render_layout",
|
||||
}
|
||||
|
||||
xplr.fn.custom.render_layout = function(ctx)
|
||||
return {
|
||||
Table = {
|
||||
ui = { title = { format = ctx.app.pwd } },
|
||||
widths = {
|
||||
{ Percentage = 50 },
|
||||
{ Percentage = 50 },
|
||||
},
|
||||
body = {
|
||||
{ "", "" },
|
||||
{ "Layout height", tostring(ctx.layout_size.height) },
|
||||
{ "Layout width", tostring(ctx.layout_size.width) },
|
||||
{ "", "" },
|
||||
{ "Screen height", tostring(ctx.screen_size.height) },
|
||||
{ "Screen width", tostring(ctx.screen_size.width) },
|
||||
},
|
||||
},
|
||||
}
|
||||
end
|
Loading…
Reference in New Issue