Skip to content
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

different layout for each monitor #622

Open
beckend opened this issue Sep 4, 2022 · 9 comments
Open

different layout for each monitor #622

beckend opened this issue Sep 4, 2022 · 9 comments
Labels
enhancement New feature or request

Comments

@beckend
Copy link

beckend commented Sep 4, 2022

useful for rotated monitors, master is not useful for standing monitors

@beckend beckend added the enhancement New feature or request label Sep 4, 2022
@vaxerski
Copy link
Member

vaxerski commented Sep 4, 2022

the current system is very much not made with this in mind, but it probably might be an option in the future

@proycon
Copy link
Contributor

proycon commented Oct 25, 2022

Just switched to hyprland (from dwm). It seems hyprland already does pretty much everything I need out of the box (good work!) except for this. Rather than tie it to a monitor, perhaps it could even be tied to a workspace? (allowing different layouts on different workspaces akin to dwm), since we can already bind workspaces to monitors with wsbind.

@vaxerski
Copy link
Member

read my comment.

@jheroy
Copy link

jheroy commented Mar 19, 2024

Any progress on this?

@vaxerski
Copy link
Member

nope

@Trinxic
Copy link

Trinxic commented Apr 2, 2024

A solution for this is in the wiki: https://wiki.hyprland.org/Configuring/Master-Layout/#config

workspace = 2, layoutopt:orientation:top

this will change the orientation of just workspace-2. From there, you could also bind the vertical monitor to that workspace:

workspace = 2, monitor:[m], layoutopt:orientation:top

Edit:
My configuration for the Master layout is slightly altered as well: [same link ^]

master {
    new_is_master = false
}

This leaves the initial application as the largest (master), and all new applications are children (slaves)

@tmccombs
Copy link

tmccombs commented Apr 2, 2024

That is using different layout configuration for different workspaces, not different layouts.

@devraza
Copy link

devraza commented May 4, 2024

@tmccombs did you mean '[...] not different monitors'? Also, you could assign some workspaces to a specific monitor and change the layout for those workspaces, as a sort of workaround, I think.

edit: looks like you can only change the orientation of the master layout with this

@gnusenpai
Copy link
Contributor

@devraza You cannot change the layout (master/dwindle) based on workspace or monitor (what this issue is about). The example given above just changes the orientation of the master layout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

8 participants