Move Client to a specific Monitor

When using two or more monitors, you might want to move a client to a specific monitor via the keyboard.

To do this, open your rc.lua and find the clientkeys-section.

Then add this to the to the end of the section: awful.key({ modkey, "Shift"  }, "F1", function (c) awful.client.movetoscreen(c, 1) end),

Doing this will move the client to your screen "1" when pressing Modkey+Shift+F1. It is recommended to set your monitors from left to right so they map with the F-keys. Note that your most left monitor might not be screen 1. Experiment to see what is the right one for you.

To add more monitors to the hotkeys, just follow the same pattern.

Example additions (to the end of the clientkeys-section): awful.key({ modkey, "Shift"  }, "F1", function (c) awful.client.movetoscreen(c, 3) end), awful.key({ modkey, "Shift"  }, "F2", function (c) awful.client.movetoscreen(c, 1) end), awful.key({ modkey, "Shift"  }, "F3", function (c) awful.client.movetoscreen(c, 2) end),

NB: F1 links to monitor 3, this is -in this example- the left-most screen.