-
Notifications
You must be signed in to change notification settings - Fork 3
Build
vbextreme edited this page Oct 14, 2018
·
5 revisions
before build check you have dependencies:
ninja meson gperf
first clone project and enter in directory , generate generic config in dir build and enter in build directory
$ git clone https://github.com/vbextreme/vbar.git
$ cd vbar
$ meson build
$ cd build
$ meson configure
the build system try to find your window manager, but if you have more wm installed meson get first find.
select from:
i3wm
dwm
configure
$ meson configure -Dwm=i3wm
default build optimization are enabled, for disable
$ meson configure -Doptimize=0
default all module are build, you can disable one or more module
module name:
Mcpu
Mcpufreq
Mdatetime
Mipc
Mmemory
Mnetwork
Mpower
Mstatic
Mtemperature
Mwireless
example, disable cpufreq and wireless
$ meson configure -DMcpufreq=0 -DMwireless=0
default debug are disable. have 4 level of debug:
1 fail
2 error
3 waning
4 info
for enable debug full
meson -Debug=4
if you redirect on pts you can enable color
meson -Dolor=1
$ ninja
installing is optional, you can execute without install.
# ninja install