Update floating client positioning

This commit is contained in:
2021-12-30 23:09:45 +02:00
parent 450c2391d3
commit b017a7dd40

View File

@@ -26,7 +26,8 @@ clientkeys =
function(c) function(c)
if not (awful.screen.focused().selected_tag.layout == awful.layout.suit.floating) and not c.maximized and not c.fullscreen then if not (awful.screen.focused().selected_tag.layout == awful.layout.suit.floating) and not c.maximized and not c.fullscreen then
awful.client.floating.toggle(c) awful.client.floating.toggle(c)
awful.placement.scale(c, {to_percent = 0.65}) awful.placement.scale(c, {to_percent = 0.45})
awful.placement.under_mouse(c)
end end
end, end,
{description = "toggle floating", group = "client"} {description = "toggle floating", group = "client"}