Skip to content

Instantly share code, notes, and snippets.

@farhaven
Created March 23, 2010 19:11
Show Gist options
  • Save farhaven/341536 to your computer and use it in GitHub Desktop.
Save farhaven/341536 to your computer and use it in GitHub Desktop.
-- this is for the mwfact, it changes the master window's width (or height, depending on the layout)
awful.key({ config.global.modkey, "Mod1" }, "Down", function () awful.tag.incmwfact(0.01) end),
awful.key({ config.global.modkey, "Mod1" }, "Up", function () awful.tag.incmwfact(-0.01) end),
-- this is for the client wfact, it changes the width (or height) of client windows
awful.key({ config.global.modkey, "Mod1" }, "Left", function () awful.client.incwfact(0.05) end),
awful.key({ config.global.modkey, "Mod1" }, "Right", function () awful.client.incwfact(-0.05) end),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment