niri-ipc
Installation
SKILL.md
Niri IPC
Use Niri IPC through the niri msg CLI (preferred) or by writing JSON requests to $NIRI_SOCKET.
This skill assumes:
- You are on Linux with Niri running.
$NIRI_SOCKETis set (usually true inside the Niri session).
Quick start (recommended)
Use the bundled helper script (wrapper around niri msg --json):
./skills/niri-ipc/scripts/niri.py version
./skills/niri-ipc/scripts/niri.py outputs
./skills/niri-ipc/scripts/niri.py workspaces
./skills/niri-ipc/scripts/niri.py windows
./skills/niri-ipc/scripts/niri.py focused-window