mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
aerospace: fix on-window-detected
This commit is contained in:
parent
6c71c49e24
commit
82595662b1
1 changed files with 9 additions and 1 deletions
|
@ -71,9 +71,17 @@ in
|
||||||
description = "Default orientation for the root container.";
|
description = "Default orientation for the root container.";
|
||||||
};
|
};
|
||||||
on-window-detected = lib.mkOption {
|
on-window-detected = lib.mkOption {
|
||||||
type = listOf str;
|
type = listOf (attrsOf anything);
|
||||||
default = [ ];
|
default = [ ];
|
||||||
description = "Commands to run every time a new window is detected.";
|
description = "Commands to run every time a new window is detected.";
|
||||||
|
example = [
|
||||||
|
{
|
||||||
|
"if".app-id = "Another.Cool.App";
|
||||||
|
"if".during-aerospace-startup = false;
|
||||||
|
"check-further-callbacks" = false;
|
||||||
|
"run" = "move-node-to-workspace m";
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
on-focus-changed = lib.mkOption {
|
on-focus-changed = lib.mkOption {
|
||||||
type = listOf str;
|
type = listOf str;
|
||||||
|
|
Loading…
Reference in a new issue