- Place the files in your path
- Make
niri-toggle-scratch.shandjson_selectexecutable. - On line 32 of
niri-toggle-scratch.shI have code to focus myfloating-kittywindow (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)