Live data from Hacker News

Niri – A scrollable-tiling Wayland compositor

github.com

141–150 of 234 posts

Re: Niri – A scrollable-tiling Wayland compositor

#141

Earlier quoted context omitted.

Wouldn't you have the same problem with changing workspaces? Sounds like you can't keep track of anything not currently present on the screen, which before the overview was a lot harder to deal with. One thing that could help is to create a "temporary terminal" keybinding to launch in floating mode so you'll never forget to close it. Or create a focus-or-launch bind that switches to an existing terminal (tools like N…

Yes and no; the difference with workspace is that I was limited to 0-9 with my old wm, so at some point I'd just run out of space and had to close some windows. (well, that, and X11 is apparently limited to 256 clients by default and I never changed that; but I rarely hit that limit :P) I do have some struts on the side, but I'm basically always juggling with at least 4 or 5 tasks so I always have things open; (I'm n…

The latest release exposes information about windows list and positions via API. Someone can write a widget for waybar or any other bar.

Re: Niri – A scrollable-tiling Wayland compositor

#142

Earlier quoted context omitted.

I've been using i3 for 7 years now, and my immediate response to the scrolling thing was "why?" and after reading your comment, I'm still trying to understand. As one would expect for any tiling wm, the screenshots only show how pretty it can be, and don't really illustrate how it helps with productivity. Would you mind going into more detail on what actually happens when you move horizontally? What happens when you…

The WM has no job being the browser, but yes we should be able to run firefox without tabs like it's surf (and stop doing part of the WM's job). But you cannot practically do that.

> yes we should be able to run firefox without tabs like it's surf

Can't you? You used to be able to show the tab bar only when there was more than one tab; I guess that has disappeared?

You can do this: Put this code into your userChrome.css file:

#tabbrowser-tabs .tabbrowser-tab:only-of-type, #tabbrowser-tabs .tabbrowser-tab:only-of-type + #tabbrowser-arrowscrollbox-periphery { display: none !important; }

#tabbrowser-tabs, #tabbrowser-arrowscrollbox { min-height: 0 !important; }

Re: Niri – A scrollable-tiling Wayland compositor

#143
post #127
post #119

I love Niri; finally a compositor that has an easy way to inject shaders. Also: - Rust - Great Nix Flake (thx Sodiboo) - Wayland

What do you mean by shaders?

You can write your animations in niri. A shader is a basically a program that runs on the GPU.

Re: Niri – A scrollable-tiling Wayland compositor

#144
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…

Yeah, I have been wanting this. The way it works on Sway is "okay", but it would be nice to have a floating workspace that can be shown or hidden on top of whatever your active workspace is. The workaround most people are using seems to be a named workspace for scratch.

Re: Niri – A scrollable-tiling Wayland compositor

#145

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…

I've been using i3 for 7 years now, and my immediate response to the scrolling thing was "why?" and after reading your comment, I'm still trying to understand. As one would expect for any tiling wm, the screenshots only show how pretty it can be, and don't really illustrate how it helps with productivity. Would you mind going into more detail on what actually happens when you move horizontally? What happens when you…

Re. pane size, it's normal tiling behavior. Panes can be take the full screen or some percentage (I like 1/2, 2/3, and 1/3). If the widths add to 1, both panes fill the screen.

If the widths don't add to 1, there are two possible behaviors (configurable). Either the newly focused pane adheres to the size of the screen (e.g., scroll right from the full screen editor and the half-screen browser is on the right border with half the editor visible), or the newly focused pane centers on the screen. I prefer the first behavior, but I make significant use of the "center pane" keybinding.

The Video Demo section in the README gives a pretty good demonstration of this behavior in the first 10-15 seconds.

Edit: To add to this thought and address some comments elsewhere about losing windows, I use "struts", which show P pixels of the panes to the left and right (when they exist) of the current view as a visual aid/reminder of where I am in the ribbon. These reduce the size of the tiled section of the screen and the calculation of pane size accordingly.

Re: Niri – A scrollable-tiling Wayland compositor

#146

Earlier quoted context omitted.

I've been using i3 for 7 years now, and my immediate response to the scrolling thing was "why?" and after reading your comment, I'm still trying to understand. As one would expect for any tiling wm, the screenshots only show how pretty it can be, and don't really illustrate how it helps with productivity. Would you mind going into more detail on what actually happens when you move horizontally? What happens when you…

The WM has no job being the browser, but yes we should be able to run firefox without tabs like it's surf (and stop doing part of the WM's job). But you cannot practically do that.

Zen browser (which is derived from Firefox) does a really good job of making this the default (at the expense of mainly supporting vertical tab lists, which I've come to love).

Re: Niri – A scrollable-tiling Wayland compositor

#147

Earlier quoted context omitted.

What does xwayland-satellite do that normal xwayland doesn't ?

This is addressed on the linked page. Quote: We're using xwayland-satellite rather than Xwayland directly because X11 is very cursed. xwayland-satellite takes on the bulk of the work dealing with the X11 peculiarities from us, giving niri normal Wayland windows to manage. xwayland-satellite works well with most applications: Steam, games, Discord, even more exotic things like Ardour with wine Windows VST plugins. How…

Kind of interesting about the X11 position issue, since that is exactly the issue that I have with Hyprland

Re: Niri – A scrollable-tiling Wayland compositor

#148

Earlier quoted context omitted.

I am relaxed about the small potential downsides of not being in the vicinity of people who lionize Tommy Robinson.

[flagged]

> Right now there's pro "Palestinian" "protests" on the streets of the UK celebrating the murder of 2 Jews in Manchester...

That is a _disgraceful_ misrepresentation of the facts. So much so that it renders replying to any part of your point completely impossible.

Re: Niri – A scrollable-tiling Wayland compositor

#149
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…

I put those on the top or bottom desktop, but you could create a named workspace (scratch) and set up a keybinding to navigate to it.

Re: Niri – A scrollable-tiling Wayland compositor

#150
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…

Aerospace[0] is by far the best window manager I've come across for Mac.

[0]: https://github.com/nikitabobko/AeroSpace

Post reply on HN