Open akirak opened 6 years ago
I have recently added frame-workflow-exwm.el
module which includes frame-workflow-exwm-swap-workspaces
command. It swaps two visible workspaces, and if there are only two monitors, it doesn't require any user input. EXWM has a built-in command named exwm-workspace-swap
, but it lets you select two workspaces by numbers from any workspaces including hidden ones, which is not easy to use for me.
Workspace switching on EXWM got easier by combining the following methods:
exwm-workspace-switch
command to switch to a hidden workspace.frame-workflow-exwm-swap-workspaces
to swap positions of two visible workspaces. As I am currently working on #5, this needs to be fixed later.
Frame-workflow uses
select-frame-set-input-focus
for selecting a frame by default. This function works poorly on EXWM with multiple monitors. It seems to display the frame always on the first monitor, at least in my environment. This issue may be solved by using a different function to switch frames, but evenexwm-workspace-switch
seems to work in a similar way. Maybe I have to implement a new function to select a frame on EXWM.