1
0
Fork 0
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:
Talha Can Havadar 2024-11-14 18:59:04 +01:00
parent 6c71c49e24
commit 82595662b1
No known key found for this signature in database
GPG key ID: 2574387962FEB0D1

View file

@ -71,9 +71,17 @@ in
description = "Default orientation for the root container.";
};
on-window-detected = lib.mkOption {
type = listOf str;
type = listOf (attrsOf anything);
default = [ ];
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 {
type = listOf str;