From e8c0ef98b1c1068783350c76b44c4e40b7534137 Mon Sep 17 00:00:00 2001 From: Roosembert Palacios Date: Sun, 5 Jun 2016 23:36:27 +0200 Subject: 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 --- sway/sway.5.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sway/sway.5.txt') 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 setting key bindings. An example config is likely present in /etc/sway/config for you to check out. +Lines in the configuration file might be extended through multiple lines by +adding a '\' character at the end of line. e.g.: + + bindsym Shift+XF86AudioRaiseVolume exec pactl set-sink-volume \ + $(pactl list sinks | grep -B 1 RUNNING | sed '1q;d' | sed 's/[^0-9]\+//g') +5% + These commands can be executed in your config file, via **sway-msg**(1), or via the bindsym command. -- cgit v1.2.3