Is it possible to somehow make the workspace layout change depending on which physical screen I am displaying it?
I want to use reflectHoriz (from XMonad.Layout.PerWorkspace) on layouts on my left monitor so that the master pane is always closest to the center of 2 screens.
I tried XMonad.Layout.IndependentScreens but that just creates double monitor dependant workspaces and that's not what I'm aiming at. Ideally, I want the same workspace to have different layout set depending on the monitor on which it is displayed.
I think it should be possible to make a Layout
wrapper (like Mirror
or Choose
) which does what you want. The runLayout
method of LayoutClass
receives the WorkspaceId
, which you can look up in the map from Screen
s to Workspace
s.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With