doc: document mode option of the bar config

This commit is contained in:
Aleksei Bavshin 2021-11-19 21:02:29 -08:00
parent 52361ed360
commit 5905078e56
No known key found for this signature in database
GPG Key ID: 4F071603387A382A

View File

@ -72,6 +72,11 @@ Also a minimal example configuration can be found on the at the bottom of this m
typeof: string ++
Optional name added as a CSS class, for styling multiple waybars.
*mode* ++
typeof: string ++
Selects one of the preconfigured display modes. This is an equivalent of the sway-bar(5) *mode* command and supports the same values: *dock*, *hide*, *invisible*, *overlay*. ++
Note: *hide* and *invisible* modes may be not as useful without Sway IPC.
*exclusive* ++
typeof: bool ++
default: *true* unless the layer is set to *overlay* ++