[UPDATE] layouts
This commit is contained in:
@@ -8,7 +8,7 @@ local layouts = {
|
|||||||
layout = {
|
layout = {
|
||||||
backdrop = false,
|
backdrop = false,
|
||||||
row = 1,
|
row = 1,
|
||||||
width = 0.4,
|
width = 0.6,
|
||||||
min_width = 100,
|
min_width = 100,
|
||||||
height = 0.4,
|
height = 0.4,
|
||||||
border = "rounded",
|
border = "rounded",
|
||||||
@@ -19,6 +19,52 @@ local layouts = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
file_telescope = {
|
||||||
|
reverse = true,
|
||||||
|
layout = {
|
||||||
|
box = "horizontal",
|
||||||
|
backdrop = false,
|
||||||
|
width = 0.8,
|
||||||
|
height = 0.9,
|
||||||
|
border = "none",
|
||||||
|
{
|
||||||
|
box = "vertical",
|
||||||
|
{ win = "list", title = " Results ", title_pos = "center", border = "rounded" },
|
||||||
|
{ win = "input", height = 1, border = "rounded", title = "{title} {live}", title_pos = "left" },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
win = "preview",
|
||||||
|
title = "{preview:Preview}",
|
||||||
|
width = 0.45,
|
||||||
|
border = "rounded",
|
||||||
|
title_pos = "center",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
notification_telescope = {
|
||||||
|
reverse = true,
|
||||||
|
layout = {
|
||||||
|
box = "horizontal",
|
||||||
|
backdrop = false,
|
||||||
|
width = 0.7,
|
||||||
|
height = 0.9,
|
||||||
|
border = "none",
|
||||||
|
{
|
||||||
|
box = "vertical",
|
||||||
|
{ win = "list", title = " Results ", title_pos = "center", border = "rounded" },
|
||||||
|
{ win = "input", height = 1, border = "rounded", title = "{title} {live}", title_pos = "left" },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
win = "preview",
|
||||||
|
title = "{preview:Preview}",
|
||||||
|
width = 0.65,
|
||||||
|
border = "rounded",
|
||||||
|
title_pos = "center",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
------------------------------------------
|
------------------------------------------
|
||||||
-- overriding defaults
|
-- overriding defaults
|
||||||
------------------------------------------
|
------------------------------------------
|
||||||
@@ -27,7 +73,7 @@ local layouts = {
|
|||||||
layout = {
|
layout = {
|
||||||
box = "horizontal",
|
box = "horizontal",
|
||||||
backdrop = 90,
|
backdrop = 90,
|
||||||
width = 0.8,
|
width = 0.9,
|
||||||
height = 0.9,
|
height = 0.9,
|
||||||
border = "none",
|
border = "none",
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user