stumpwm / mahogany

A stumpwm like Wayland compositor
GNU General Public License v2.0
220 stars 12 forks source link

A new managing paradigm #18

Open dmb2 opened 4 years ago

dmb2 commented 4 years ago

Since mahogany is our chance to redefine how windows are managed, I've been thinking about how to do this in a novel way.

Instead of imagining discrete desktops, I imagine the entire 2D plane as a place to contain windows. Multimonitor support (when standardized) would simply extend the visible parts of the plane.

Within this plane, a bounding box the resolution of the monitor would become the root frame. The two structures are the window and a frame. Frames are definable with the following ui:

Windows can be snapped into frames, or they can float.

See https://www.nurgo-software.com/products/aquasnap See https://www.nurgo-software.com/products/tidytabs

In this paradigm, a new group would simply mean panning the desktop to a new part of the plane that doesn't have windows in it. If groups moved vertically or horizontally, windows could exist between groups. Moving windows between groups would be a matter of calculating their new root frame, or their new coordinates if floating.

sdilts commented 4 years ago

I like the mouse control ideas. I was thinking about implementing grouping floating windows like shown on this gif from the website: https://www.nurgo-software.com/images/AquaSnap/GroupMove.gif, except grouping the windows into squares, not arbitrary shapes as shown.

bijang commented 4 years ago

Very interesting paradigm ! Never seen this before...

Stupid question maybe but are you planning there be a default dynamic tiling option as well as a manual tiling paradigm?

bijang commented 4 years ago

I hate to ask this question, is this project still active?(I'm sure it is... apologies for question, I just looking fwd to it ;) )

sdilts commented 4 years ago

It's still alive, yes. Active? Maybe. I haven't abandoned it yet. Since it's summer where I live, I'm devoting all of my free time to spending it outside. I plan to resume working on it in earnest at some point in the future. Thanks for your excitement, it's a real motivator.

On Thu, Jun 4, 2020, 12:38 bijang notifications@github.com wrote:

I hate to ask this question, is this project still active?(I'm sure it is... apologies for question, I just looking fwd to it ;) )

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/stumpwm/mahogany/issues/18#issuecomment-639039712, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC2LPZVNFEPR4IESMK7IHWTRU7S3NANCNFSM4L4EVQXA .

bijang commented 4 years ago

I'm devoting all of my free time to spending it outside

you're doing the best thing then!

Loads of excitement for sure but happy seeing how things unfold at whatever pace :) slower the better probably

szos commented 2 years ago

I commented in another issue, before reading this one and realizing my comment/idea would fit better here, as it involves changing the way groups are handled and would fit well with the idea of a single plane with groups being treated as viewports. The comment/idea is in issue #10 here: https://github.com/stumpwm/mahogany/issues/10#issuecomment-1000869984