This commit is contained in:
Yessiest 2023-05-21 15:10:00 +04:00
parent 264032b182
commit a5d56e2464
2 changed files with 16 additions and 2 deletions

View File

@ -19,6 +19,20 @@ awful.rules.rules = gears.table.join(awful.rules.rules, {
end}
},
{ rule = { fullscreen = true },
properties = {placement = awful.placement.centered}
properties = {
titlebars_enabled = false,
floating = true,
border_width = 0,
border_color = 0,
size_hints_honor = false,
placement=awful.placement.no_offscreen
},
callback = function(c)
gears.timer.delayed_call(function()
if c.valid then
c:geometry(c.screen.geometry)
end
end)
end
}
})

View File

@ -248,8 +248,8 @@ return function(args)
awesome.connect_signal("xdg::all_finished",function()
for _,v in pairs(xdg.apps) do
table.insert(pager.list,icon_cache:get(v.icon or beautiful.icon_default,v.name,v.exec))
pager:update()
end
pager:update()
end)
return widget,icon
end