mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
wiki: Fix code block formatting
This commit is contained in:
+2
-2
@@ -51,9 +51,9 @@ For more complex requests, you can use `socat` to find how `niri msg` formats th
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ socat STDIO UNIX-LISTEN:temp.sock
|
$ socat STDIO UNIX-LISTEN:temp.sock
|
||||||
(then, in a different terminal)
|
# then, in a different terminal:
|
||||||
$ env NIRI_SOCKET=./temp.sock niri msg action focus-workspace 2
|
$ env NIRI_SOCKET=./temp.sock niri msg action focus-workspace 2
|
||||||
(then, look in the socat terminal)
|
# then, look in the socat terminal:
|
||||||
{"Action":{"FocusWorkspace":{"reference":{"Index":2}}}}
|
{"Action":{"FocusWorkspace":{"reference":{"Index":2}}}}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user