I'm using exwm-workspace-switch-to-buffer to find already opened applications. My problem is, say I'm in workspace 1, and Firefox is open in workspace 3, if I call exwm-workspace-switch-to-buffer for Firefox, exwm brings Firefox to workspace 1 but I want it to shoot me to workspace 3 where Firefox resides and leave the workspace 1 intact. In i3wm I can do this by something like for_window [class="(?i)firefox"] focus

2 Answers 2


Thanks to the owner of exwm this is no longer an issue. See this issue.


The command to do that is exwm-workspace-switch-to-buffer and it requires exwm-layout-show-all-buffers to be nil. With an appropriate font-face or theme workspaces with X-windows will be highlighted.

Your Answer

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

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