FlashSpace is a blazingly-fast virtual workspace manager for macOS, designed to enhance and replace native macOS Spaces. No more waiting for macOS animations.
![FlashSpace](https://private-user-images.githubusercontent.com/3128467/410695368-36f4933d-3711-4acf-9171-9137073010d7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNjYzNTgsIm5iZiI6MTczOTI2NjA1OCwicGF0aCI6Ii8zMTI4NDY3LzQxMDY5NTM2OC0zNmY0OTMzZC0zNzExLTRhY2YtOTE3MS05MTM3MDczMDEwZDcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMDkyNzM4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDUzNzk0ZWM4MWMzYzIxMjA0ZDVkYmExOTBjZjdhMWRkM2RhY2Q5ZmQ3ZDY3OGI2ZDhlZTgzOTZmYTJhMmIwYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.xa-_5vNzQSHJFChD2VlP_OZpPy9t-s1WQnZNTE4NmmY)
Requirements: macOS 14.0 or later.
brew install flashspace
See: Releases Page.
See: Build From Source.
The video shows a sample configuration where I use 3 workspaces and switch between them using hotkeys.
FlashSpace.mp4
- Move all your apps to a single macOS space. You can keep separate spaces on each display.
- Create a workspace.
- Assign apps to it.
- Assign a display to the workspace.
- Set a hotkey for quick workspace activation.
- Follow the same steps for other workspaces.
- Switch between configured workspaces using hotkeys.
If you want to keep the same app in multiple workspaces, you can use the "Floating Apps" feature from the app settings or you can add the app to multiple workspaces from the main app window.
FlashSpace allows to define virtual workspaces and assign apps to them. Each workspace is also assigned to a specific display. When you switch to a workspace, the assigned apps are automatically presented and all other apps from the assigned display are hidden.
The app allows workspaces to be switched independently on each display.
- Blazingly fast workspace switching
- Multiple displays support
- Activate workspace on app focus
- Move apps between workspaces with a hotkey
- Floating apps visible across all workspaces
- Focus manager - set hotkeys to switch between apps quickly
- Cursor manager - auto-center the cursor in the active window
- Profiles - quickly switch between different configurations
- Configurable Menu Bar icon & text (per workspace)
- SketchyBar integration
- Performance - The app should be as fast as possible.
- Simplicity - The app should be easy to use and configure.
- Reliability - The app should work without glitches and unexpected behavior.
- Invisible - The app should help, not disturb.
- UNIX Philosophy - The app should do one thing and do it well - manage workspaces.
FlashSpace enables fast switching of focus between windows. Use hotkeys to shift focus in any desired direction. It also allows you to jump between displays.
FocusManager.mp4
FlashSpace doesn't actively manage windows, so if you switch to a workspace and call another app that is not assigned to the workspace, it will be shown on top of the workspace apps.
It is considered to be a desired behavior as it allows quickly accessing other apps without glitches or switching between workspaces.
Glitches are common in tiling window managers, often caused by not configured pop-ups or dialog windows. FlashSpace prevents these issues by not managing windows & apps that are unassigned allowing you to interact with the system in a non-disruptive way.
FlashSpace doesn't support the concept of individual app windows per workspace. This is a conscious decision to keep the app simple and fast.
This way, FlashSpace can rely on native show & hide functionality ensuring the most efficient way of managing and switching between workspaces. Additionally, this hack-free approach is battery-friendly and doesn't break other features in the system like Mission Control.
Adding support for individual app windows per workspace would require a lot of complexity and would downgrade the performance of the app. However, it is planned to further investigate a possibility of adding this feature in the future.
FlashSpace can be integrated with SketchyBar and other tools. The app runs a configurable script when the workspace is changed.
You can enable the integration in the app settings.
Configuration Example
sketchybar --add item flashspace left \
--set flashspace \
background.color=0x22ffffff \
background.corner_radius=5 \
label.padding_left=5 \
label.padding_right=5 \
script="$CONFIG_DIR/plugins/flashspace.sh" \
--add event flashspace_workspace_change \
--subscribe flashspace flashspace_workspace_change
#!/bin/bash
sketchybar --set $NAME label="$WORKSPACE - $DISPLAY"
sketchybar --add event flashspace_workspace_change
SID=1
SELECTED_PROFILE_ID=$(jq -r ".selectedProfileId" ~/.config/flashspace/profiles.json)
WORKSPACES=$(jq -r --arg id "$SELECTED_PROFILE_ID" 'first(.profiles[] | select(.id == $id)) | .workspaces[].name' ~/.config/flashspace/profiles.json)
for workspace in $WORKSPACES; do
sketchybar --add item flashspace.$SID left \
--subscribe flashspace.$SID flashspace_workspace_change \
--set flashspace.$SID \
background.color=0x22ffffff \
background.corner_radius=5 \
background.padding_left=5 \
label.padding_left=5 \
label.padding_right=5 \
label="$workspace" \
script="$CONFIG_DIR/plugins/flashspace.sh $workspace"
SID=$((SID + 1))
done
#!/bin/bash
if [ "$1" = "$WORKSPACE" ]; then
sketchybar --set $NAME label.color=0xffff0000
else
sketchybar --set $NAME label.color=0xffffffff
fi
FlashSpace uses XcodeGen to generate the Xcode project from the project.yml
file.
- Clone the repository.
- Navigate to the project directory.
- Run
brew bundle
to install dependencies. - Run
xcodegen generate
. - Open
FlashSpace.xcodeproj
in Xcode. - Click on the
FlashSpace
target, click on theSigning & Capabilities
tab, and select your team. - Build & run the app.
Remember to run xcodegen generate
every time you change branch or pull changes.
If you want to generate the project with configured signing, you can run:
XCODE_DEVELOPMENT_TEAM=YOUR_TEAM_ID xcodegen generate
You can also set this variable globally in your shell.
Big thanks to all the sponsors who support this project 🍻!