Coder Social home page Coder Social logo

Comments (6)

axelfahy avatar axelfahy commented on May 27, 2024 1

Thanks a lot for this, I will try it this week!

from aerospace.

nikitabobko avatar nikitabobko commented on May 27, 2024

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

from aerospace.

nikitabobko avatar nikitabobko commented on May 27, 2024

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:

  1. Display serial number
  2. Name of the display in the settings. Like "DELL U2723QE"
  3. "main" for the main display (the main display is configured in System Settings)
  4. "secondary" for the cases when users have only two displays

from aerospace.

mike1808 avatar mike1808 commented on May 27, 2024

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.

nikitabobko avatar nikitabobko commented on May 27, 2024

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.

vitor-alves avatar vitor-alves commented on May 27, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.