expand menu

This commit is contained in:
Yessiest 2023-05-20 20:31:42 +04:00
parent 3c835f3807
commit 932869df11
5 changed files with 45 additions and 62 deletions

View File

@ -1,16 +0,0 @@
loop=false
delay=10
-KP_Left
-Right
+Right
-Right
+BackSpace
-BackSpace
+p
-p
+space
-space
+-
--
+r
-r

View File

@ -1,5 +0,0 @@
loop=true
delay=10
-KP_Begin
+v
-v

View File

@ -1,5 +0,0 @@
loop=true
delay=10
-KP_Right
+c
-c

View File

@ -49,7 +49,7 @@ local function _preload(args)
widget = wibox.container.background
},
{
layout = wibox.layout.fixed.vertical,
layout = wibox.layout.flex.vertical,
id = "contents"
},
{

View File

@ -68,6 +68,7 @@ return function(args)
args.rows = args.rows or 8
args.columns = args.columns or 6
local widget = wibox.widget({
{
{
t.center(t.container(
t.container({
@ -103,12 +104,16 @@ return function(args)
bg = "#00000000"
})
),
layout = wibox.layout.fixed.vertical,
spacing = style.base.spacing,
},
{
{
layout = wibox.layout.grid,
forced_num_cols = args.columns,
homogenous = true,
expand = true,
vertical_expand = true,
orientation = "veritcal",
spacing = style.base.spacing,
id = "appgrid"
@ -116,8 +121,12 @@ return function(args)
margins = 20,
widget = wibox.container.margin
},
layout = wibox.layout.fixed.vertical,
{
widget = wibox.container.background
},
layout = wibox.layout.align.vertical,
spacing = style.base.spacing,
expand = "inside",
id = "root_ratio"
},
widget = wibox.container.margin,