Skip to content

Commit 6888b13

Browse files
authored
Merge pull request #26 from regolith-linux/dev
Add example for i3 command w/ escaped substring.
2 parents 9200419 + 6002db6 commit 6888b13

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,11 @@ if (!conn.send_command("exit")) {
116116
}
117117
```
118118

119+
Quoted strings can be passed like this:
120+
```c++
121+
conn.send_command("[workspace=\" 1 \""] move workspace to output eDP-1");
122+
```
123+
119124
## Version i3 support
120125
It is written according to the *current* specification, so some of new features in IPC can be not-implemented. If there is some of them, please notice at issues page.
121126

0 commit comments

Comments
 (0)