forge
Explore
Log in

Don't you dare go Hollow

wiki: Use $NIRI_SOCKET in example

Browse files at this commit

aafd5ab70ff7031e8fa448d13a217ab66b6a4483Ivan MolodetskikhParent: d8d6b5a
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 ```sh42 ```sh
43-$ socat STDIO /run/user/1000/niri.wayland-1.42516.sock43+$ 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 ```