feat(wm): add cmd to focus ws on target monitor

This commit adds a new command which allows the focusing of workspaces
on monitors other than the currently focused monitor by specifying a
monitor index.

Sending this command to komorebi will make the target monitor index the
currently focused monitor.

resolve #85
This commit is contained in:
LGUG2Z
2021-12-03 09:50:28 -08:00
parent 85fe20ebba
commit 9be248bc03
6 changed files with 32 additions and 2 deletions

View File

@@ -76,6 +76,7 @@ pub enum SocketMessage {
CycleFocusWorkspace(CycleDirection),
FocusMonitorNumber(usize),
FocusWorkspaceNumber(usize),
FocusMonitorWorkspaceNumber(usize, usize),
ContainerPadding(usize, usize, i32),
WorkspacePadding(usize, usize, i32),
WorkspaceTiling(usize, usize, bool),