From aafd5ab70ff7031e8fa448d13a217ab66b6a4483 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 2 Sep 2024 12:38:33 +0300 Subject: wiki: Use $NIRI_SOCKET in example --- wiki/IPC.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wiki') diff --git a/wiki/IPC.md b/wiki/IPC.md index f7d852bb..261f4271 100644 --- a/wiki/IPC.md +++ b/wiki/IPC.md @@ -40,7 +40,7 @@ Read the reply as JSON, also on a single line. You can use `socat` to test communicating with niri directly: ```sh -$ socat STDIO /run/user/1000/niri.wayland-1.42516.sock +$ socat STDIO "$NIRI_SOCKET" "FocusedWindow" {"Ok":{"FocusedWindow":{"id":12,"title":"t socat STDIO /run/u ~","app_id":"Alacritty","workspace_id":6,"is_focused":true}}} ``` -- cgit