Move Focus to a specific Monitor

When using 2 or more monitors you might want to switch to a specific monitor without using the mouse.

This is easy to achive - open your rc.lua and find the globalkeys-section, under the "-- Standard program"-part, add this: awful.key({modkey,           }, "F1",     function  awful.screen.focus(1) end) This will move the mouse/focus to your screen "1" when pressing Modkey-F1. It is recommended to set your monitors from left to right so they map with the F-keys. Note that your left-most monitor might not be screen 1. Experiment to see what is the right one for you. Placing this under the clientkeys-section will make you unable to change monitor unless you have a client on the monitor you are on.

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

Example config: awful.key({modkey,           }, "F1",     function  awful.screen.focus(3) end), awful.key({modkey,           }, "F2",     function  awful.screen.focus(1) end), awful.key({modkey,           }, "F3",     function  awful.screen.focus(2) end), Note that in the above configuration, Modkey-F1 shifts focus to the monitor with index 3. Which in this particular case also happens to be the far-left monitor. So please adjust accordingly!