- Place the files in your path
- Make
niri-toggle-scratch.sh
andjson_select
executable. - On line 32 of
niri-toggle-scratch.sh
I have code to focus myfloating-kitty
window (a dedicated terminal instance) after showing scratch windows. You might want to customize or remove this part depending on how you use scratch windows.
Related discussion is in this thread: YaLTeR/niri#329 (reply in thread)