-
Notifications
You must be signed in to change notification settings - Fork 504
Description
Is your feature request related to a problem?
I'm integrating Amethyst with FlashSpace for workspace management. When
FlashSpace switches spaces, it:
- Hides windows in the current workspace
- Shows windows in the target workspace
This triggers multiple window-resize events in Amethyst during the transition, causing visual glitches and unnecessary layout recalculations.
Describe the solution you'd like
Add two new keyboard shortcuts (in addition to the existing toggle-tiling):
enable-tiling- Explicitly enable tiling (idempotent)disable-tiling- Explicitly disable tiling (idempotent)
This would allow external scripts to reliably:
- Disable Amethyst before workspace switching
- Perform the workspace change
- Re-enable Amethyst after completion
Describe alternatives you've considered
-
Current workaround (toggle-tiling): Using the existing
toggle-tilingshortcut works in simple cases, but fails when switching workspaces rapidly. The toggle state becomes desynchronized, causing tiling to be disabled when it should be enabled, and vice versa. -
CLI utility or AppleScript support: A command-line interface (#717) or AppleScript bindings (#1553, #1357) would provide more robust integration options, but dedicated keyboard shortcuts would be a simpler, faster implementation.
Additional context
The proposed shortcuts should be idempotent (calling enable-tiling when already enabled is a no-op, and same for disable-tiling).