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.