News for hackers. Stuff that matters.
Re:The Future Is Niri by the_gipsy on Wednesday March 12, 2025 @09:44AM (#43343200)
I would like to know, coming from a traditional tiling window manager, how does the shortcut workflow look like?

For me the number one thing is having fixed shortcuts á la Super+[0-9] to go to specific windows / workspaces / essentially a specific program. If I can have that, and additionally solving the "worskpace management" problem as TFA described, I'm sold!

Does it make sense to use "workspaces" like this with Niri? For example, one workspace with the browser, one with the editor, one with several terminal columns, and so on. I would need to "switch" (immediately, without animation effects, please) e.g. from "browser" to "terminals".

Re:The Future Is Niri by tripdout on Wednesday March 12, 2025 @09:50AM (#43343248)
Yes, Niri still supports numbered workspaces in the same was as WMs like Sway. It's just that now you can scroll them horizontally too.
Re:The Future Is Niri by stevefolta on Wednesday March 12, 2025 @01:37PM (#43345703)
The one caveat -- and it's a big one -- is that Niri numbers workspaces dynamically, and won't let you have an empty workspace (except temporarily).
Re:The Future Is Niri by rwdf on Wednesday March 12, 2025 @02:35PM (#43346322)
You can have named workspaces now, I have ones dedicated to terminals, and browsers. They always have the same numbers.
Re:The Future Is Niri by stevefolta on Wednesday March 12, 2025 @02:58PM (#43346535)
Oh, perfect, thanks! I've been using Niri for less than a week, hadn't got to using named workspaces yet, and missed the bit in the docs where it says they can be empty.
Re:The Future Is Niri by the_gipsy on Wednesday March 12, 2025 @08:15PM (#43349116)
I tried it and I'm completely sold!
Re:The Future Is Niri by redactyl on Wednesday March 12, 2025 @10:04AM (#43343380)
I find I use Niri in a similar way to other tiling WMs, but instead of having one application per workspace, it lets me keep accessory applications clustered with the main ones. For example, my password manager lives in the same workspace (usually off-screen) as my browser. Whenever I need to generate a password or something, it's right there. Same with whatever accessory terminals I need in addition to my text editor.
Re:The Future Is Niri by cycomanic on Wednesday March 12, 2025 @07:47PM (#43348920)
You can also try out niri (really paperwm) like tiling in sway (papersway) or hype (hyprscroller). I'm using the later, and it works essentially the same as regular tiling (you can have named workspaces). That said, I notice that I have a lot of muscle memory due to previously working within the constraints of traditional tiling (i.e. You need a new to switch to a new workspace if you open more than 3 terminals, at least on my monitor). I therefore often switch to a new workspace when I really don't need to and get somewhat confused by where things are. I sometimes think a clearer break from my previous way of working might be easier.

That said I really like the approach to tiling from niri and others. It eliminates pretty much all downsides of tiling WMs IMO

Re:The Future Is Niri by whx23 on Thursday March 13, 2025 @09:30AM (#43353142)
for the super+X use case, if on mac, I can also highly recommend rcmd!
Re:The Future Is Niri by brightball on Thursday March 13, 2025 @10:48AM (#43353942)
Been using i3 for the last year and I feel all of the pain points from this article.

Overall, I deeply prefer i3 to gnome but the "everything gets resized" pain point is very real. Particularly when getting on a lot of calls with Zoom and the "notifications" seem to bypass the build in notifications on the system, instead treating each Zoom notification like it's own window...amplifying the problem.

I'm going to have to give Niri a try.

Re:The Future Is Niri by _hyn3 on Thursday March 13, 2025 @11:13AM (#43354178)
# for floating windows

default_floating_border none

# make sure pavucontrol is floated; use xprop (cli) to get window title/class/etc

for_window [class="Pavucontrol"] floating enable, resize set height 512, opacity 0.3

# https://faq.i3wm.org/question/61/forcing-windows-as-always-f...

Re:The Future Is Niri by brightball on Thursday March 13, 2025 @11:34AM (#43354371)
Thanks! I'll try that.