Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

different layout for each monitor

Open beckend opened this issue 3 years ago • 9 comments

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

beckend avatar Sep 04 '22 15:09 beckend

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

vaxerski avatar Sep 04 '22 16:09 vaxerski

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.

proycon avatar Oct 25 '22 11:10 proycon

read my comment.

vaxerski avatar Oct 25 '22 11:10 vaxerski

Any progress on this?

jheroy avatar Mar 19 '24 02:03 jheroy

nope

vaxerski avatar Mar 19 '24 02:03 vaxerski

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)

Trinxic avatar Apr 02 '24 02:04 Trinxic

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

tmccombs avatar Apr 02 '24 04:04 tmccombs

@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

devraza avatar May 04 '24 13:05 devraza

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

gnusenpai avatar May 04 '24 13:05 gnusenpai