1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-31 04:04:45 +00:00
This commit is contained in:
Talha Can Havadar 2024-12-28 23:23:26 +00:00 committed by GitHub
commit 86447fb863
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -72,9 +72,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;