mirror of
https://github.com/swaywm/sway.git
synced 2025-11-26 06:59:59 -05:00
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>
This commit is contained in:
parent
17dbcb40dc
commit
e8c0ef98b1
2 changed files with 47 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue