main: add -b,--backend command line option

This option allows the user to explicitly select the backend to
use. The default is still to auto-detect.
This commit is contained in:
Daniel Eklöf 2019-05-11 10:53:09 +02:00
parent 473802cab8
commit 5eef162d39
4 changed files with 33 additions and 12 deletions

View file

@ -8,6 +8,12 @@ f00bar - modular status panel for X11 and Wayland
# OPTIONS
*-b, --backend={xcb,wayland,auto}*
Backend to use. The default is *auto*. In this mode, f00bar will
look for the environment variable _WAYLAND\_DISPLAY_, and if
available, use the *Wayland* backend. If not, the *XCB* backend is
used.
*-c, --config=FILE*
Use an alternative configuration file instead of the default one.