summaryrefslogtreecommitdiffstats
path: root/sway/sway.5.txt
diff options
context:
space:
mode:
authorLibravatar Roosembert Palacios <roosembert.palacios@epfl.ch>2016-06-05 23:36:27 +0200
committerLibravatar Roosembert Palacios <roosembert.palacios@epfl.ch>2016-06-05 23:36:27 +0200
commite8c0ef98b1c1068783350c76b44c4e40b7534137 (patch)
treec026688e9ff26b7ea5e591cc71631e89f580edbd /sway/sway.5.txt
parentMerge pull request #697 from zandrmartin/assign-command (diff)
downloadsway-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.txt6
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
16setting key bindings. An example config is likely present in /etc/sway/config 16setting key bindings. An example config is likely present in /etc/sway/config
17for you to check out. 17for you to check out.
18 18
19Lines in the configuration file might be extended through multiple lines by
20adding 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
19These commands can be executed in your config file, via **sway-msg**(1), or via 25These commands can be executed in your config file, via **sway-msg**(1), or via
20the bindsym command. 26the bindsym command.
21 27