When playing games on niri I noticed some games don't lock your mouse cursor to your monitor.
I didn't want to use Gamescope so I stumbled upon a way to do this natively in niri without needing any tools.
This post provides a general purpose solution.
One thing I like about niri and Vim is having choices.
There's many ways to do something. You can use the mouse, the keyboard or a combination of both to do a lot of different tasks.
It lets you move at the speed of thought.
Here's a few examples: