I am using i3 as my window manager, and I would like to avoid wrapping around when pressing $mod+<direction>.

For example, If I am in the rightmost window on the workspace, and I press $mod+right, I don't want focus to go to the leftmost window, but rather stay in the currently focused window.

Initially asked in the i3-faq and recommended to also post here.


Yes, I implemented this option last year.

Add to your configuration file:

focus_wrapping no

It is available since version 4.15.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.