a lot of stuff

This commit is contained in:
Kievits Rene
2022-04-16 05:08:33 +02:00
parent dae28d55eb
commit 1ceec3a7d9
74 changed files with 4743 additions and 716 deletions

View File

@@ -11,30 +11,36 @@ local wibox = require("wibox")
require("main.signals")
-- Returns the layoutbox widget
return function ()
local layout = wibox.widget{
return function()
local layout = wibox.widget {
{
awful.widget.layoutbox(),
margins = dpi(3),
forced_width = dpi(33),
{
awful.widget.layoutbox(),
id = "icon_layout",
widget = wibox.container.place
},
id = "icon_margin",
left = dpi(5),
right = dpi(5),
forced_width = dpi(40),
widget = wibox.container.margin
},
bg = color.color["LightBlue200"],
shape = function (cr, width, height)
gears.shape.rounded_rect(cr, width, height, 5)
shape = function(cr, width, height)
gears.shape.rounded_rect(cr, width, height, 5)
end,
widget = wibox.container.background
}
-- Signals
hover_signal(layout, color.color["LightBlue200"])
Hover_signal(layout, color.color["LightBlue200"])
layout:connect_signal(
"button::press",
function ()
function()
awful.layout.inc(-1)
end
)
return layout
end
end