X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/5392da7424efcb7910a98954e585848ca76b7139..0a0094e2364ef2aa8a4cc61a434596deaf6e726b:/awesome/bindings.lua diff --git a/awesome/bindings.lua b/awesome/bindings.lua index 20e81a7..6d9b130 100644 --- a/awesome/bindings.lua +++ b/awesome/bindings.lua @@ -28,7 +28,6 @@ globalkeys = awful.util.table.join( awful.client.focus.byidx(-1) if client.focus then client.focus:raise() end end), - awful.key({ modkey }, "w", function () mymainmenu:show() end), -- Layout manipulation awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end), @@ -68,11 +67,16 @@ globalkeys = awful.util.table.join( -- }}} -- {{{ My Keys + -- Menu + awful.key({ modkey }, "w", function () mymainmenu:show({ coords = { x = 0, y = 0}}) end), -- Prompt awful.key({ modkey }, "space", function () mypromptbox[mouse.screen]:run() end), -- switch layout awful.key({ modkey }, "]", function () awful.layout.inc(layouts, 1) end), awful.key({ modkey }, "[", function () awful.layout.inc(layouts, -1) end), + -- resize slave + awful.key({ modkey, "Control" }, "j", function () awful.client.incwfact( 0.05) end), + awful.key({ modkey, "Control" }, "k", function () awful.client.incwfact(-0.05) end), -- Ksnapshot awful.key({ }, "F13", function () awful.util.spawn("ksnapshot") end), -- Layout manipulation @@ -118,10 +122,7 @@ clientkeys = awful.util.table.join( awful.key({ modkey, "Shift" }, "#94", awful.client.movetoscreen ), -- ontop and below awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end), - awful.key({ modkey, }, "b", function (c) c.below = not c.below end), - -- resize slave - awful.key({ modkey, "Control" }, "j", function (c) awful.client.incwfact( 0.05, c) end), - awful.key({ modkey, "Control" }, "k", function (c) awful.client.incwfact(-0.05, c) end) + awful.key({ modkey, }, "b", function (c) c.below = not c.below end) -- }}} ) -- }}}