Comments (6)
Thanks a lot for this, I will try it this week!
from aerospace.
Is it possible to assign workspaces to monitors?
Not yet, but I agree that it needs to be supported
https://i3wm.org/docs/userguide.html#workspace_screen
I will eventually support it myself, but PRs are welcome. The entry points are
- https://github.com/nikitabobko/AeroSpace/blob/main/src/tree/Workspace.swift#L126
- https://github.com/nikitabobko/AeroSpace/blob/main/src/tree/Workspace.swift#L92
from aerospace.
The hardest part here is to design a syntax for the TOML config file.
Right now, I'm thinking about something like this:
[workspace-to-display-assignment]
workspace_name_1 = "ID_OF_THE_DISPLAY_1"
workspace_name_2 = "ID_OF_THE_DISPLAY_2"
But I'm not sure in what format ID_OF_THE_DISPLAY_X
should be accepted. Probably all these are possible values:
- Display serial number
- Name of the display in the settings. Like "DELL U2723QE"
- "main" for the main display (the main display is configured in
System Settings
) - "secondary" for the cases when users have only two displays
from aerospace.
I have an issue with having multiple monitors connected to a thunderbolt hub where one of those monitors is marked as "main". The problem is that the order of initialization of those monitors is not the same every time I plug the hub and sometimes my main gets initialized after secondary which messes up with the ordering of workspace: sometimes the workspace X appears on the monitor 1 and sometimes on the monitor 2.
Hopefully, being able to assign the workspace to a monitor will mitigate it.
from aerospace.
Fixed in 0.5.0-Beta
However, I have one deviation from the i3 model. workspace to monitor assignments is "forced" in AeroSpace. If you put the assignment in the config then move-workspace-to-monitor
won't work for assigned workspaces
from aerospace.
@nikitabobko
Thank you so much for implementing this feature.
This was the only big struggle I had.
You're doing a great job with AeroSpace!
from aerospace.
Related Issues (20)
- Having Godot engine opened results in a massive lag when trying to switch workspaces
- Hide windows in same workspace as where they exist (keep on same monitor when hidden) HOT 3
- Ability to ignore something? HOT 3
- AeroSpace moves CleanShot X's supplementary UI elements to primary monitor HOT 2
- Workspace 10 when using external monitor HOT 3
- All keys are ignored HOT 4
- [Feature] Alias for combinations HOT 1
- [Bug] Non-native menubar dropdown issue in multi-monitor setup HOT 1
- Add a possibility to "await" the moment when new window opens
- Feature Request: Option to alternate layouts when opening windows HOT 1
- Incorrect window and workspace focus with multiple monitor HOT 2
- Feature: on-focus-changed callback
- `--macos-native-*` flags are broken in `list-windows` command HOT 1
- question: anyway to list all apps and their workspace ids? HOT 2
- Native crash 0.11.0-Beta when switching between native fullscreen window back and forth
- Option to hide windows instead of resizing them into the corner HOT 4
- Feature: interactive commands
- Bug: wezterm windows are not recognized in beta-0.11 HOT 8
- Switching workspaces on one monitor hides fullscreen app on second monitor
- Feature request: shell completion
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aerospace.