some rebinds
This commit is contained in:
parent
9ee271c1fb
commit
842d0a55e0
1 changed files with 3 additions and 2 deletions
5
rc.lua
5
rc.lua
|
@ -408,9 +408,9 @@ globalkeys = awful.util.table.join(
|
||||||
)
|
)
|
||||||
|
|
||||||
clientkeys = awful.util.table.join(
|
clientkeys = awful.util.table.join(
|
||||||
awful.key({ modkey, }, 'f', function (c) c.fullscreen = not c.fullscreen end),
|
awful.key({ 'Mod1', }, 'Return', function (c) c.fullscreen = not c.fullscreen end),
|
||||||
awful.key({ modkey, 'Shift' }, 'c', function (c) c:kill() end),
|
awful.key({ modkey, 'Shift' }, 'c', function (c) c:kill() end),
|
||||||
awful.key({ modkey, 'Control' }, 'space', awful.client.floating.toggle ),
|
awful.key({ modkey, }, 'f', awful.client.floating.toggle ),
|
||||||
awful.key({ modkey, }, 'Return', function (c) c:swap(awful.client.getmaster()) end),
|
awful.key({ modkey, }, 'Return', function (c) c:swap(awful.client.getmaster()) end),
|
||||||
awful.key({ modkey, }, 'o', awful.client.movetoscreen ),
|
awful.key({ modkey, }, 'o', awful.client.movetoscreen ),
|
||||||
awful.key({ modkey, }, 't', function (c) c.ontop = not c.ontop end),
|
awful.key({ modkey, }, 't', function (c) c.ontop = not c.ontop end),
|
||||||
|
@ -427,6 +427,7 @@ clientkeys = awful.util.table.join(
|
||||||
c.maximized_vertical = not c.maximized_vertical
|
c.maximized_vertical = not c.maximized_vertical
|
||||||
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
if c.maximized_horizontal == true and c.maximized_vertical == true then
|
||||||
c.border_width = 0
|
c.border_width = 0
|
||||||
|
client.focus:raise()
|
||||||
else
|
else
|
||||||
c.border_width = beautiful.border_width
|
c.border_width = beautiful.border_width
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue