This commit is contained in:
Cynthia Foxwell 2022-11-30 12:20:47 -07:00
parent f7c2b96150
commit 5d8b01834f
5 changed files with 72 additions and 5 deletions

View file

@ -1057,7 +1057,7 @@ clientkeys = gears.table.join(
),
awful.key(
{modkey}, "f",
awful.client.floating.toggle ,
awful.client.floating.toggle,
{
description = "toggle floating",
group = "client",
@ -1119,6 +1119,10 @@ clientkeys = gears.table.join(
awful.key(
{modkey, "Shift"}, "r",
function(c)
if not c.floating then
c.floating = true
end
local scr = awful.screen.focused({client = true})
local x = scr.geometry.x + (scr.geometry.width / 2 - 800)
local y = scr.geometry.y + (scr.geometry.height / 2 - 450)