I make things: electronics and software and music and stories and all sorts of other things.

  • 0 Posts
  • 2 Comments
Joined 3 years ago
cake
Cake day: June 14th, 2023

help-circle

  • I freaking love niri

    It’s easy to lose windows that are off-screen

    By default. They should really change the defaults, but in config, you can make it so if there is a window to the side hidden, a piece is always visible.

    It’s called struts.

    layout {
        ...
        struts {
             left 16
             right 16
         }
    }
    

    It ensures a piece of the window is always visible

    Plus with a bar like from QuickShell or WayBar you can see all open windows anyway up there.

    To achieve this, I’ve been using Niri with the tilemod script. It helps make Niri behave more like a regular tiling.

    The things you show in the gif are already possible with niri via Super + [ and Super + ] (default bindings) for placing into columns

    It has limitations, but everything in the gif at least is already there. Niri actually has quite a bit of support for base tiling.

    I can’t go back to non-scrolling ever. I even use a similar setup on my work machine (a Mac) via PaperWM.spoon, tho it isn’t as well integrated (bc it’s a mac and you’re forcing it to not be a mac)

    EDIT: One tiling feature of niri I love is that with Super + W you can switch to a stacked mode like in a tiler. For KiCAD PCB editing, you have three windows - project, schematic, and pcb. It is essential that at the very least the project tab be stacked behind and out of the way imo, since there is no minimize