mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-06 16:57:03 +00:00
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.
|
||||
|
|
|
@ -25,5 +25,3 @@ alt-h = "focus left"
|
|||
alt-j = "focus down"
|
||||
alt-k = "focus up"
|
||||
alt-l = "focus right"
|
||||
|
||||
[workspace-to-monitor-force-assignment]
|
||||
|
|
Loading…
Add table
Reference in a new issue