diff options
author | Roosembert Palacios <roosembert.palacios@epfl.ch> | 2016-06-05 23:36:27 +0200 |
---|---|---|
committer | Roosembert Palacios <roosembert.palacios@epfl.ch> | 2016-06-05 23:36:27 +0200 |
commit | e8c0ef98b1c1068783350c76b44c4e40b7534137 (patch) | |
tree | c026688e9ff26b7ea5e591cc71631e89f580edbd /sway/sway.5.txt | |
parent | Merge pull request #697 from zandrmartin/assign-command (diff) | |
download | sway-e8c0ef98b1c1068783350c76b44c4e40b7534137.tar.gz sway-e8c0ef98b1c1068783350c76b44c4e40b7534137.tar.zst sway-e8c0ef98b1c1068783350c76b44c4e40b7534137.zip |
Sway: Configuration: Support for escaping line breaks.
Escape line return in configuration file with the '\' character. Similar
to shell scripts.
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
Diffstat (limited to 'sway/sway.5.txt')
-rw-r--r-- | sway/sway.5.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sway/sway.5.txt b/sway/sway.5.txt index bd2de12d..397b6d87 100644 --- a/sway/sway.5.txt +++ b/sway/sway.5.txt | |||
@@ -16,6 +16,12 @@ on startup. These commands usually consist of setting your preferences and | |||
16 | setting key bindings. An example config is likely present in /etc/sway/config | 16 | setting key bindings. An example config is likely present in /etc/sway/config |
17 | for you to check out. | 17 | for you to check out. |
18 | 18 | ||
19 | Lines in the configuration file might be extended through multiple lines by | ||
20 | adding a '\' character at the end of line. e.g.: | ||
21 | |||
22 | bindsym Shift+XF86AudioRaiseVolume exec pactl set-sink-volume \ | ||
23 | $(pactl list sinks | grep -B 1 RUNNING | sed '1q;d' | sed 's/[^0-9]\+//g') +5% | ||
24 | |||
19 | These commands can be executed in your config file, via **sway-msg**(1), or via | 25 | These commands can be executed in your config file, via **sway-msg**(1), or via |
20 | the bindsym command. | 26 | the bindsym command. |
21 | 27 | ||