In Awesome WM the way you switch between open programs is by going to the previous or next client. By default it uses the keybinding Mod4 + k and Mod4 + j respectively.
However, let say I have four clients open in my screen using the tile layout, whereas I have four tiles on screen showing each program. If currently I am on the top-left tile and I want to go to the bottom left, I need to press Mod4 + j twice, cycling to the top right before arriving at the bottom left. What I want is to go directly to that tile using a single keybinding, is that possible in Awesome. I know in i3 WM this is the default behaviour using the arrows keys to move up and down, left and right between open programs.
-
I come from i3 too and it's a pain not having this shortcut, thanks for your question...smonff– smonff2014年08月07日 18:12:35 +00:00Commented Aug 7, 2014 at 18:12
1 Answer 1
The default config doesn't provide keybindigns for this, but you are looking for awful.client.focus.bydirection. For example, add a keybinding for this function:
function() client.focus.bydirection('down') end