mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-25 01:58:51 +02:00
feat(wm): ensure workspace count
Allow the number of workspaces for a given monitor to be pre-created, so that configuration options can be sent (name, padding, layout) before the workspace has ever been activated.
This commit is contained in:
@@ -37,6 +37,7 @@ pub enum SocketMessage {
|
||||
ChangeLayout(Layout),
|
||||
FlipLayout(LayoutFlip),
|
||||
// Monitor and Workspace Commands
|
||||
EnsureWorkspaces(usize, usize),
|
||||
Stop,
|
||||
TogglePause,
|
||||
Retile,
|
||||
@@ -45,7 +46,7 @@ pub enum SocketMessage {
|
||||
ContainerPadding(usize, usize, i32),
|
||||
WorkspacePadding(usize, usize, i32),
|
||||
WorkspaceName(usize, usize, String),
|
||||
SetLayout(usize, usize, Layout),
|
||||
WorkspaceLayout(usize, usize, Layout),
|
||||
// Configuration
|
||||
FloatClass(String),
|
||||
FloatExe(String),
|
||||
|
||||
Reference in New Issue
Block a user