-
-
Notifications
You must be signed in to change notification settings - Fork 821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split monitor into virtual outputs #3575
Comments
I have the opposite requirement: One virtual output should span over two physical monitors. Would be awesome if the code could cover that scenario as well! |
As I recently checked again if sway or hyprland had implemented splitting a monitor (the feature in this issue) since the last time I checked, I came across a hyprland plugin that seems to do what you want: I found it on the hyprland awesome list: Oh, and, of course, a solution that is generic enough to cover both scenarios would be awesome. One solution I thought about was whether the fake outputs feature could already be used to split a monitor into multiple. https://wiki.hyprland.org/hyprland-wiki/pages/Configuring/Using-hyprctl/#output Herbstluftwm is the only wm which has this feature, as far as I know. |
@vaxerski could you give a high-level overview of what would need to be done to support this, so that someone could maybe look into it a bit? |
this is all but simple; hyprland is very much not made with this in mind. |
Are there possible first steps that could be done in order to slowly move towards this? I dont expect this to be solved with a single PR. |
none that I can think of. the entire thing is built on the assumption that there is strictly 1 monitor per 1 workspace |
Can second this, I own an ultrawide and I can't use it with hyprland. |
An alternative is to use PBP mode, idk if there's any monitors that support 3 side by side PBP outputs though. I find it pretty clunky because the only way to center a window between 2 monitors is through floating. I just use master layout with |
I'm currently using XMonad with layoutScreens there to cycle through three configurations for my ultrawide (5120x1440):
XMonad handles everything inside these virtual monitors as if they where real displays and it also uses the available resolution of each virtual monitor to select the best layout (e.g. the half sized displays have a master window on top and other windows below tiled and the full sized ones have the master on the left or right). If hyprland could or does support something similar it would be great. Edit: Here is how this is configured in XMonad and something similar would be great:
|
I don't know much about wayland but a quick glance through the docs suggests to me that this is something that should sit above the compositor and maps real wl_output devices (monitors) onto multiple virtual wl_outputs? That way it wouldn't be hyprland specific? Maybe someone more knowledgeable can confirm if this is possible. |
I too am unable to switch to hyprland until this is supported. I have an ultrawide that I would like to split into 2 or 3 virtual displays. It would be great if hyprland could treat it as 3 separate displays. This is how you would do it in x11:
|
Yes please, I usually split my monitor into two: half for notes and what I'm doing (an ADHD must) and the other half is my workspace. |
Description
Sway has already covered this issue quite extensively.
The idea is that you can split an (ultrawide) monitor into multiple smaller virtual outputs.
Example: Instead of having a single 5440x1440 monitor, you could divide it into two 2560x1440 monitors or even a setup such as 1280x1440 + 2560x1440 + 1280x1440 monitor
This way you can switch between workspaces on different parts of the physical screen indepently of the rest of the screen.
If someone could give me some pointers, I would be happy to draft a PR for this.
The text was updated successfully, but these errors were encountered: