X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=docs%2Fuserguide;h=e21553815601c5bebd60c5793c22595afd6863f5;hb=05fb9096362e788f032de6eccea2d7fea03317ab;hp=64f614f53cb1e979c0afd53a9faa30b5efe309d8;hpb=8df7e4ecb9dff2781b3afc3bffaf054cbc1c9c6a;p=i3%2Fi3 diff --git a/docs/userguide b/docs/userguide index 64f614f5..e2155381 100644 --- a/docs/userguide +++ b/docs/userguide @@ -1078,6 +1078,20 @@ show_marks yes|no show_marks yes -------------- +[[line_continuation]] + +=== Line continuation + +Config files support line continuation, meaning when you end a line in a +backslash character (`\`), the line-break will be ignored by the parser. This +feature can be used to create more readable configuration files. + +*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 +1354,9 @@ bar { } # show tray icons on the primary monitor -tray_output primary +bar { + tray_output primary +} # show tray icons on the big monitor bar { @@ -1597,14 +1613,16 @@ urgent:: Compares the urgent state of the window. Can be "latest" or "oldest". Matches the latest or oldest urgent window, respectively. (The following aliases are also available: newest, last, recent, first) +workspace:: + Compares the workspace name of the workspace the window belongs to. con_mark:: Compares the mark set for this container, see <>. con_id:: Compares the i3-internal container ID, which you can get via the IPC interface. Handy for scripting. -The criteria +class+, +instance+, +role+, +title+ and +mark+ are actually -regular expressions (PCRE). See +pcresyntax(3)+ or +perldoc perlre+ for +The criteria +class+, +instance+, +role+, +title+, +workspace+ and +mark+ are +actually regular expressions (PCRE). See +pcresyntax(3)+ or +perldoc perlre+ for information on how to use them. [[exec]]