1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-10-27 05:23:39 -04:00
polybar/include/settings.hpp.cmake

77 lines
1.8 KiB
CMake
Raw Normal View History

#pragma once
2016-05-19 10:41:06 -04:00
2017-01-10 21:07:28 -05:00
#include <cstdio>
#include <string>
2016-11-20 17:04:31 -05:00
#include <vector>
2016-06-14 23:32:35 -04:00
extern const char* const APP_NAME;
extern const char* const APP_VERSION;
2016-06-27 15:52:21 -04:00
#cmakedefine01 ENABLE_ALSA
#cmakedefine01 ENABLE_MPD
#cmakedefine01 ENABLE_NETWORK
#cmakedefine01 WITH_LIBNL
2016-06-27 15:52:21 -04:00
#cmakedefine01 ENABLE_I3
#cmakedefine01 ENABLE_CURL
#cmakedefine01 ENABLE_PULSEAUDIO
2016-05-19 10:41:06 -04:00
#define WITH_XRANDR 1
#define WITH_XCOMPOSITE 1
#cmakedefine01 WITH_XKB
#cmakedefine01 WITH_XRM
2017-09-06 02:35:29 -04:00
#cmakedefine01 WITH_XCURSOR
#if WITH_XRANDR
2017-01-26 11:17:02 -05:00
#cmakedefine01 WITH_XRANDR_MONITORS
#else
2017-01-26 11:17:02 -05:00
#define WITH_XRANDR_MONITORS 0
#endif
#if WITH_XKB
2017-01-26 11:17:02 -05:00
#cmakedefine01 ENABLE_XKEYBOARD
#else
#define ENABLE_XKEYBOARD 0
#endif
#cmakedefine XPP_EXTENSION_LIST @XPP_EXTENSION_LIST@
2016-06-14 23:32:35 -04:00
2016-11-02 15:22:45 -04:00
#cmakedefine DEBUG_LOGGER
#if DEBUG
2017-01-18 23:38:42 -05:00
#cmakedefine DEBUG_LOGGER_VERBOSE
2016-11-24 22:10:26 -05:00
#cmakedefine DEBUG_HINTS
#cmakedefine DEBUG_WHITESPACE
2017-01-18 23:38:42 -05:00
#cmakedefine DEBUG_SHADED
#cmakedefine DEBUG_FONTCONFIG
#endif
static const int SIGN_PRIORITY_CONTROLLER{1};
static const int SIGN_PRIORITY_SCREEN{2};
static const int SIGN_PRIORITY_BAR{3};
static const int SIGN_PRIORITY_RENDERER{4};
static const int SIGN_PRIORITY_TRAY{5};
extern const int SINK_PRIORITY_BAR;
extern const int SINK_PRIORITY_SCREEN;
extern const int SINK_PRIORITY_TRAY;
extern const int SINK_PRIORITY_MODULE;
2016-12-03 07:00:40 -05:00
extern const char* const ALSA_SOUNDCARD;
extern const char* const BSPWM_SOCKET_PATH;
extern const char* const BSPWM_STATUS_PREFIX;
extern const char* const CONNECTION_TEST_IP;
extern const char* const PATH_ADAPTER;
extern const char* const PATH_BACKLIGHT;
extern const char* const PATH_BATTERY;
extern const char* const PATH_CPU_INFO;
extern const char* const PATH_MEMORY_INFO;
extern const char* const PATH_MESSAGING_FIFO;
extern const char* const PATH_TEMPERATURE_INFO;
extern const char* const WIRELESS_LIB;
bool version_details(const std::vector<std::string>& args);
void print_build_info(bool extended = false);
2016-06-14 23:32:35 -04:00
// vim:ft=cpp