i3bar: add support for nonprimary output

Added a new output option `nonprimary` that causes the bar to be
displayed on all outputs except the primary one.

Fixes #4083
This commit is contained in:
Maxim Schuwalow
2020-10-22 19:37:09 +02:00
committed by Orestis Floros
parent 3cd1c45eba
commit 90e7a156a2
3 changed files with 13 additions and 4 deletions

View File

@ -1484,9 +1484,16 @@ options for different outputs by using multiple 'bar' blocks.
To make a particular i3bar instance handle multiple outputs, specify the output
directive multiple times.
These output names have a special meaning:
primary::
Selects the output that is configured as primary in the X server.
nonprimary::
Selects every output that is not configured as primary in the X server.
*Syntax*:
---------------
output primary|<output>
output primary|nonprimary|<output>
---------------
*Example*: