userguide: Document mark --replace flag

- Explicitly document --replace, which was previously only mentioned
  in the command syntax.

- Improve wording: "a window can only have one mark" is slightly
  misleading because it appears to describe the limitation as a
  property of the model, whereas this actually pertains the mark
  command.
next
Vladimir Panteleev 2018-12-14 08:29:23 +00:00
parent be6619ff11
commit fdda9763b7
No known key found for this signature in database
GPG Key ID: 5004F0FAD051576D
1 changed files with 3 additions and 2 deletions

View File

@ -2416,8 +2416,9 @@ this mark or add it otherwise. Note that you may need to use this in
combination with +--add+ (see below) as any other marks will otherwise be
removed.
By default, a window can only have one mark. You can use the +--add+ flag to
put more than one mark on a window.
The +--replace+ flag causes i3 to remove any existing marks, which is also the
default behavior. You can use the +--add+ flag to put more than one mark on a
window.
Refer to <<show_marks>> if you don't want marks to be shown in the window decoration.