wiki: Use $NIRI_SOCKET in example
Browse files at this commitaafd5ab70ff7031e8fa448d13a217ab66b6a4483Parent: d8d6b5a1 changed file +1 -1
- wiki/IPC.md +1 -1
wiki/IPC.mdmodified+1 -1
| @@ -40,7 +40,7 @@ Read the reply as JSON, also on a single line. | |||
| 40 | You can use `socat` to test communicating with niri directly: | 40 | You can use `socat` to test communicating with niri directly: |
| 41 | 41 | ||
| 42 | ```sh | 42 | ```sh |
| 43 | -$ socat STDIO /run/user/1000/niri.wayland-1.42516.sock | 43 | +$ socat STDIO "$NIRI_SOCKET" |
| 44 | "FocusedWindow" | 44 | "FocusedWindow" |
| 45 | {"Ok":{"FocusedWindow":{"id":12,"title":"t socat STDIO /run/u ~","app_id":"Alacritty","workspace_id":6,"is_focused":true}}} | 45 | {"Ok":{"FocusedWindow":{"id":12,"title":"t socat STDIO /run/u ~","app_id":"Alacritty","workspace_id":6,"is_focused":true}}} |
| 46 | ``` | 46 | ``` |