doc: document `mode` option of the bar config

pull/1244/head
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
1 changed files with 5 additions and 0 deletions

View File

@ -72,6 +72,11 @@ Also a minimal example configuration can be found on the at the bottom of this m
typeof: string ++ typeof: string ++
Optional name added as a CSS class, for styling multiple waybars. 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* ++ *exclusive* ++
typeof: bool ++ typeof: bool ++
default: *true* unless the layer is set to *overlay* ++ default: *true* unless the layer is set to *overlay* ++