aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-06-05 18:24:12 -0400
committerDrew DeVault <sir@cmpwn.com>2016-06-05 18:24:12 -0400
commitcb14f5f5765a71630ea3c4bd2143fcc1cd4a2e57 (patch)
treec77118e96612dad70c00d4c0528b4f3815105b04 /sway
parent17dbcb40dc3d2063efbb99ae17e8d1cc58e5b16e (diff)
parent230591fa4e4911ffbb38da2ee79650e62d98415f (diff)
Merge pull request #699 from roosemberth/master
Sway: Configuration: Support for escaping line breaks.
Diffstat (limited to 'sway')
-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
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.