i3bar: accept 'primary' for output config option

This commit is contained in:
lebenlechzer
2017-03-12 21:17:12 +01:00
parent 8c3ddce5a2
commit 2f0f8b16c2
3 changed files with 26 additions and 7 deletions

View File

@ -1378,7 +1378,7 @@ directive multiple times.
*Syntax*:
---------------
output <output>
output primary|<output>
---------------
*Example*:
@ -1400,7 +1400,19 @@ bar {
statusline #ffffff
}
}
# show bar on the primary monitor and on HDMI2
bar {
output primary
output HDMI2
status_command i3status
}
-------------------------------
Note that you might not have a primary output configured yet. To do so, run:
-------------------------
xrandr --output <output> --primary
-------------------------
=== Tray output