sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit dcb142bf5e390250939544075b5852ca21eaf721
parent 9e1465107788af2c8ce93e2a288e9d32bc09711c
Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Date:   Fri, 29 Mar 2024 18:46:08 -0400

sway-ipc(7): Escape backslashes correctly in GET_CONFIG output

Without this change, i see the following in the sway-ipc manpage:

```

   9. GET_CONFIG
       MESSAGE
       Retrieve the contents of the config that was last loaded

       REPLY
       An object with a single string property containing the contents of  the
       config

       Example Reply:
           {
                "config": "set $mod Mod4nbindsym $mod+q exitn"
           }
```

Diffstat:
Msway/sway-ipc.7.scd | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/sway-ipc.7.scd b/sway/sway-ipc.7.scd @@ -1046,7 +1046,7 @@ An object with a single string property containing the contents of the config *Example Reply:* ``` { - "config": "set $mod Mod4\nbindsym $mod+q exit\n" + "config": "set $mod Mod4\\nbindsym $mod+q exit\\n" } ```