aerospace: fix workspace assignment config (#6442)
with the default to `{}`, this table is always set in the generated
config. this change allows `null` for
`workspace-to-monitor-force-assignment` and sets the default to `null`
Co-authored-by: derrik.fleming <derrik.fleming@spindance.com>
This commit is contained in:
parent
c9d343cfa0
commit
a70d788923
2 changed files with 3 additions and 4 deletions
|
|
@ -154,8 +154,9 @@ in {
|
|||
"Commands to run every time a new window is detected with optional conditions.";
|
||||
};
|
||||
workspace-to-monitor-force-assignment = mkOption {
|
||||
type = with types; attrsOf (oneOf [ int str (listOf str) ]);
|
||||
default = { };
|
||||
type = with types;
|
||||
nullOr (attrsOf (oneOf [ int str (listOf str) ]));
|
||||
default = null;
|
||||
description = ''
|
||||
Map workspaces to specific monitors.
|
||||
Left-hand side is the workspace name, and right-hand side is the monitor pattern.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue