Live data from Hacker News

Niri – A scrollable-tiling Wayland compositor

github.com

121–130 of 234 posts

Re: Niri – A scrollable-tiling Wayland compositor

#121
post #105

Earlier quoted context omitted.

I just wasn't sure how you'd know where you are if you can go in any direction I suppose if it's built like top-left is 0,0 you could just scroll up/left to get to the beginning If you imagine there are 4 windows and are arranged 2x2 then I was thinking you'd have an icon somewhere like [ ] [*] [ ] [ ] So you'd know you're at the top right position

You can't go in "any" direction, the infinite strip has a fixed height and extends infinitely to the right, so you scroll left-right. Then you have workspaces which are up/down but they are like separate strips entirely. Maybe the video of the overview on this page will help: https://github.com/YaLTeR/niri/wiki/Overview

Ahh okay yeah I watched the 2 min one on the main readme

This does have the dots (vertical position) on the right bar

Long as the windows stay fixed, it annoys me how Mac will just randomly re-arrange your virtual desktops or whatever you call em

I use i3 personally at this time regarding this topic but yeah although I used to only care about it because I had crappy computers at the time so not having a full desktop meant saving 400 MB of RAM at idle for example

Re: Niri – A scrollable-tiling Wayland compositor

#122

Niri convinced me to give up xmonad. I ran xmonad exclusively for 14 years. Being able to have an unlimited number of windows on a desktop (without continually switching the tiling structure) makes them collections of topics rather than having multiple desktops bounded by what fits comfortably. What used to be a switch from the "editor and terminals" desktop to the "browser" desktop is now horizontal movement on the…

The only thing I feel like is missing from niri is a scratch layer. There are some apps that just don’t need to be tiled and it’s nice to have access to them immediately no matter “where” you are. Perfect example is matrix client. If the wife texts me I want to become able to pop that sucker up immediately and reply, not find the “matrix client workspace”. Plus it’s tiny and doesn’t need to be tiled. Same with media players.

Paperwm on gnome has this.

Re: Niri – A scrollable-tiling Wayland compositor

#123
I want to use/try Niri, but have been staying on Hyprland from my safety blanket of Omarchy [1], and really liking its hyprscrolling plugin:

https://github.com/hyprwm/hyprland-plugins/tree/main/hyprscr...

Imo Hyprland should merge this hyprscrolling plugin into the main project, and just ship it as the default (only?) layout option -- it just scales to "more than 4 windows" so much better than either of Hyprland's master/dwindle layouts.

[1] I tried vanilla arch + archinstall + sway/niri/etc but really couldn't make it work from scratch, vs. the contrast of Omarchy which was "wow this all works" :shrug:

Re: Niri – A scrollable-tiling Wayland compositor

#124
post #7

How does it compare to Sway?

Been using sway for many years before moving to niri last year.

Outside of the fundamental window management differences, I find that a lot of stuff with niri is easier to make work, or just happens to work out of the box. Screen sharing with sway was always a problem for me[1], whereas for niri it works great (incl. sharing individual windows only[2].) I also found that niri is much better at letting hardware go to sleep (which saves 10W on my GPU.)

[1]: https://github.com/swaywm/sway/issues/7898 etc.

[2]: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3864

Re: Niri – A scrollable-tiling Wayland compositor

#126

Every time I read about Wayland compositors, I find myself thinking the same thing: don't Wayland compositors have too many responsibilities?

Maybe. But X11 was an unmaintainable mess that was mostly abandoned by its own devs so we get what we get.

Re: Niri – A scrollable-tiling Wayland compositor

#128
post #122

Niri convinced me to give up xmonad. I ran xmonad exclusively for 14 years. Being able to have an unlimited number of windows on a desktop (without continually switching the tiling structure) makes them collections of topics rather than having multiple desktops bounded by what fits comfortably. What used to be a switch from the "editor and terminals" desktop to the "browser" desktop is now horizontal movement on the…

The only thing I feel like is missing from niri is a scratch layer. There are some apps that just don’t need to be tiled and it’s nice to have access to them immediately no matter “where” you are. Perfect example is matrix client. If the wife texts me I want to become able to pop that sucker up immediately and reply, not find the “matrix client workspace”. Plus it’s tiny and doesn’t need to be tiled. Same with media…

In my case I've found niri's workflow quite nice for these scratch windows, since every new window opens to the immediate left of the currently focused window, and doesn't affect the size or tiling of any other windows, they're just shifted to the right.

Re: Niri – A scrollable-tiling Wayland compositor

#129
post #61
post #6

I'm basically fullscreen with everything all the time on macos, but not in the super-duper-fullscreen mode so cmd-tab/cmd-` works predictably. I want this on macos. I know I can't have it on macos. I also can't switch to Linux since macos is mandated by my employer. Nothing really to take out of it except that I feel like I'm not alone feeling stuck, knowing there are better workflows and not being able to do anythin…

You might try Hammerspoon[0] with PaperWM.spoon[1] on macOS. This is what I use, and while it has quirks, it works better than not having it. [0] https://www.hammerspoon.org/ [1] https://github.com/mogenson/PaperWM.spoon

It’s nice, but it doesn’t support things like Safari tabs properly.

Re: Niri – A scrollable-tiling Wayland compositor

#130
post #100

I'd previously been giving Hyprland a try, but after lots of customization work, there were still a bunch of things I wasn't happy with and ended back on GNOME as a "just let me get work done" thing (I use multiple workspaces, have always have dozens or hundreds of browser windows open, depend on a bunch tray extensions). That being said, GNOME just updated versions and broke all my extensions again so I've decided t…

Re: app cycling, you might also be interested in https://github.com/isaksamsten/niriswitcher .

Looks great, thanks for the suggestion!
Post reply on HN