Niri v25.05 (the previous release) added a feature called dynamic screencast target where you can bind a key that changes the target of your screencast to the focused window or screen. It’s very slick and easy to setup.
Ha, sounds cool! I’m curious how it works and how would you use it.