aerospace: assign apps to workspaces and monitors

This commit is contained in:
2026-02-02 13:59:16 +01:00
parent 5648ea6c54
commit ee4bd53cf9

View File

@@ -11,6 +11,18 @@
"move-mouse monitor-lazy-center" "move-mouse monitor-lazy-center"
]; ];
workspace-to-monitor-force-assignment = {
"1" = "secondary";
"2" = "secondary";
"3" = "secondary";
"4" = "secondary";
"5" = "secondary";
"6" = "secondary";
"7" = "secondary";
"8" = "secondary";
"9" = "main";
};
gaps = { gaps = {
inner = { inner = {
horizontal = 8; horizontal = 8;
@@ -35,7 +47,31 @@
"if" = { "if" = {
"app-id" = "com.mitchellh.ghostty"; "app-id" = "com.mitchellh.ghostty";
}; };
run = "layout tiling"; run = ["layout tiling" "move-node-to-workspace 3"];
}
{
"if" = {
"app-id" = "net.imput.helium";
};
run = "move-node-to-workspace 2";
}
{
"if" = {
"app-id" = "com.tinyspeck.slackmacgap";
};
run = "move-node-to-workspace 5";
}
{
"if" = {
"app-id" = "net.whatsapp.WhatsApp";
};
run = "move-node-to-workspace 5";
}
{
"if" = {
"app-id" = "com.tidal.desktop";
};
run = "move-node-to-workspace 6";
} }
]; ];