]> git.sur5r.net Git - i3/i3/blobdiff - docs/userguide
Merge pull request #1797 from hwangcc23/config-file-line-continuation
[i3/i3] / docs / userguide
index 65d82d977323903576c68b327086e80afe4807a0..7924560d8203aa1ff1d5d7ab4a5630c0403f1b1b 100644 (file)
@@ -1078,6 +1078,19 @@ show_marks yes|no
 show_marks yes
 --------------
 
+[[line_continuation]]
+
+=== Line continuation
+
+Config files support line continuation, which is indicated by \ before the
+new line character.
+
+*Examples*:
+-------------------
+bindsym Mod1+f \
+fullscreen toggle
+-------------------
+
 == Configuring i3bar
 
 The bar at the bottom of your monitor is drawn by a separate process called
@@ -1340,7 +1353,9 @@ bar {
 }
 
 # show tray icons on the primary monitor
-tray_output primary
+bar {
+    tray_output primary
+}
 
 # show tray icons on the big monitor
 bar {