From 57ddd00814706320bf9f0851a1b4fe2c918bc60b Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 24 Apr 2015 18:46:42 +0200 Subject: [PATCH] =?utf8?q?userguide:=20add=20a=20note=20to=20both=20?= =?utf8?q?=E2=80=9Cexec=E2=80=9Ds=20about=20semicolon=20and=20comma?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit fixes #1678 --- docs/userguide | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/userguide b/docs/userguide index ad89fae8..301d8c81 100644 --- a/docs/userguide +++ b/docs/userguide @@ -724,6 +724,10 @@ commands will not run when restarting i3, if you need a command to run also when restarting i3 you should use the +exec_always+ keyword. These commands will be run in order. +See <> for details on the special meaning of +;+ (semicolon) +and +,+ (comma): they chain commands together in i3 and need to be escaped if +you want to use them in your command. + *Syntax*: ------------------- exec [--no-startup-id] command @@ -1467,6 +1471,8 @@ do this is to use the +i3-msg+ utility: i3-msg border none -------------------------- +[[command_chaining]] + Commands can be chained by using +;+ (a semicolon). So, to move a window to a specific workspace and immediately switch to that workspace, you can configure the following keybinding: @@ -1540,7 +1546,11 @@ information on how to use them. What good is a window manager if you can’t actually start any applications? The exec command starts an application by passing the command you specify to a shell. This implies that you can use globbing (wildcards) and programs will be -searched in your $PATH. +searched in your +$PATH+. + +See <> for details on the special meaning of +;+ (semicolon) +and +,+ (comma): they chain commands together in i3 and need to be escaped if +you want to use them in your command. *Syntax*: ------------------------------ -- 2.39.5