mirror of
https://github.com/polybar/polybar.git
synced 2024-11-18 13:55:11 -05:00
refactor(build): List xkeyboard in cmake and polybar -v
This commit is contained in:
parent
f7a6e5ba98
commit
6157c697bc
2 changed files with 10 additions and 8 deletions
|
@ -19,6 +19,7 @@ colored_option(" i3" ENABLE_I3)
|
|||
colored_option(" mpd" ENABLE_MPD)
|
||||
colored_option(" network" ENABLE_NETWORK)
|
||||
colored_option(" pulseaudio" ENABLE_PULSEAUDIO)
|
||||
colored_option(" xkeyboard" WITH_XKB)
|
||||
|
||||
message(STATUS " X extensions:")
|
||||
colored_option(" xcb-randr" WITH_XRANDR)
|
||||
|
|
|
@ -101,13 +101,14 @@ const auto version_details = [](const std::vector<std::string>& args) {
|
|||
// clang-format off
|
||||
const auto print_build_info = [](bool extended = false) {
|
||||
printf("%s %s\n\n", APP_NAME, APP_VERSION);
|
||||
printf("Features: %calsa %ccurl %ci3 %cmpd %cnetwork %cpulseaudio\n",
|
||||
printf("Features: %calsa %ccurl %ci3 %cmpd %cnetwork %cpulseaudio %cxkeyboard\n",
|
||||
(ENABLE_ALSA ? '+' : '-'),
|
||||
(ENABLE_CURL ? '+' : '-'),
|
||||
(ENABLE_I3 ? '+' : '-'),
|
||||
(ENABLE_MPD ? '+' : '-'),
|
||||
(ENABLE_NETWORK ? '+' : '-'),
|
||||
(ENABLE_PULSEAUDIO ? '+' : '-'));
|
||||
(ENABLE_PULSEAUDIO ? '+' : '-'),
|
||||
(ENABLE_XKEYBOARD ? '+' : '-'));
|
||||
if (extended) {
|
||||
printf("\n");
|
||||
printf("X extensions: %crandr (%cmonitors) %crender %cdamage %csync %ccomposite %cxkb %cxrm %cxcursor\n",
|
||||
|
|
Loading…
Reference in a new issue