Hyprland
Hyprland copied to clipboard
different layout for each monitor
useful for rotated monitors, master is not useful for standing monitors
the current system is very much not made with this in mind, but it probably might be an option in the future
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.
read my comment.
Any progress on this?
nope
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)
That is using different layout configuration for different workspaces, not different layouts.
@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 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.