mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-21 02:01:55 +07:00
wiki: Use $NIRI_SOCKET in example
This commit is contained in:
+1
-1
@@ -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}}}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user