Skip to content

Instantly share code, notes, and snippets.

View 20after4's full-sized avatar
🪫
charging batteries.

Mukunda Modell 20after4

🪫
charging batteries.
View GitHub Profile
@20after4
20after4 / README.md
Last active March 31, 2025 21:28
bash script to implement floating scratch windows in `niri`

Notes

  1. Place the files in your path
  2. Make niri-toggle-scratch.sh and json_select executable.
  3. On line 32 of niri-toggle-scratch.sh I have code to focus my floating-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.

See also

Related discussion is in this thread: YaLTeR/niri#329 (reply in thread)