1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

tests/aerospace: include on-window-detected

This commit is contained in:
Alex Mason 2025-04-08 23:08:29 +10:00 committed by Austin Horstman
parent 95861b5d9f
commit 7137c8ae4e
2 changed files with 26 additions and 1 deletions

View file

@ -14,6 +14,20 @@
alt-k = "focus up";
alt-l = "focus right";
};
on-window-detected = [
{
"if" = { app-id = "com.apple.MobileSMS"; };
run = [ "move-node-to-workspace 10" ];
}
{
"if" = { app-id = "ru.keepcoder.Telegram"; };
run = [ "move-node-to-workspace 10" ];
}
{
"if" = { app-id = "org.whispersystems.signal-desktop"; };
run = [ "move-node-to-workspace 10" ];
}
];
};
};

View file

@ -8,7 +8,6 @@ enable-normalization-opposite-orientation-for-nested-containers = true
exec-on-workspace-change = []
on-focus-changed = []
on-focused-monitor-changed = ["move-mouse monitor-lazy-center"]
on-window-detected = []
start-at-login = false
[gaps.outer]
@ -25,3 +24,15 @@ alt-h = "focus left"
alt-j = "focus down"
alt-k = "focus up"
alt-l = "focus right"
[[on-window-detected]]
"if.app-id" = "com.apple.MobileSMS"
run = ["move-node-to-workspace 10"]
[[on-window-detected]]
"if.app-id" = "ru.keepcoder.Telegram"
run = ["move-node-to-workspace 10"]
[[on-window-detected]]
"if.app-id" = "org.whispersystems.signal-desktop"
run = ["move-node-to-workspace 10"]