I want to have my screen (the “dev” workspace) split in three “zones”:

  • on the left side, a tabbed group with all the text editors I start (ie. if I start a new one, it goes there in a new tab)
  • on the top-right, a tabbed group of whatever many terminal I feel like launching
  • on the bottom-right, my browsers (and possibly other stuff), in a group without tabs
  • a key combination to cycle between: all three “zones” visible, text editors on the left - terminal on the right, text editors on the left - browser on the right, fullscreen browser

So far I’ve been looking at hyprland (for no particular reason except the hype) and I don’t think I can do the above with it (I am by no means an expert, so… maybe it can actually be done?).

Do you know of any WM where it would be possible? (possibly, one with automatic splitting a-la bspwm, that I would use for the other workspaces)

    • gomp@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      Sorry to be a bother, but… how do I tell hyprland I want a window to be added to a specific group?

      I was thinking of something like:

      windowrulev2 = tag texteditor, class:(myfirsteditor)
      windowrulev2 = tag texteditor, class:(mysecondeditor)
      windowrulev2 = group XXX, tag:texteditor
      

      but I can’t find what I should write instead of group XXX to tell hyprland/hy3 that I want the window to be added to a group on the left-side of workspace 1…

      I would also be fine with some rule that could be added to exec or probably even some dispatcher, but I can’t find anything that allows to target (or define) a specific group.

      Am I pursuing this from the wrong direction?

    • gomp@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      TBH I really liked the idea behind river, but does it have tabs? Also… I would need to write my own custom layout, wouldn’t I?

      BTW: are there other WMs that are modular like river?

        • gomp@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          3 months ago

          Reading https://codeberg.org/river/river/src/branch/master/protocol/river-layout-v3.xml it seems to me that what I want to do is actually not possible in river, even writing a custom layout manager…

          IIUC the protocol works like this: river asks “how should I layout N windows in HxW screen?” and the layout replies “window1: H1xW1 at offset X1,Y1; window2: H2xW2 …”, so there is no way for the layout manager to identify specific windows and, in my use case, put all the text editors on the left side of the screen etc.

          Did you have some other approach in mind when you suggested river? (I may very well be over-complicating things and not seeing a more straightforward solution)