3

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.

asked Feb 26, 2013 at 11:00
1
  • I come from i3 too and it's a pain not having this shortcut, thanks for your question... Commented Aug 7, 2014 at 18:12

1 Answer 1

4

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
answered Feb 28, 2013 at 21:46
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.