feat(aerospace): add floating/tiling mode specifically for terminal, workspace tweaks

This commit is contained in:
Rasyidan Akbar F. 2025-11-07 15:30:22 +07:00
commit ff677a03cc
2 changed files with 19 additions and 0 deletions

View file

@ -26,9 +26,22 @@
"alt-shift-tab" = "move-workspace-to-monitor --wrap-around next";
"alt-r" = "mode resize";
"alt-f" = "mode float";
"alt-shift-semicolon" = "mode service";
} // workspaceFocusBindings // workspaceSendBindings;
float.binding = {
enter = ''exec-and-forget open -na "Ghostty" && aerospace layout floating'';
i = [
''exec-and-forget open -na "iTerm.app"''
"layout floating"
"mode main"
];
g =
[ ''exec-and-forget open -na "Ghostty"'' "layout floating" "mode main" ];
esc = "mode main";
};
resize.binding = {
h = "resize width -100";
l = "resize width +100";