+3
-13
@@ -8,7 +8,7 @@
|
||||
|
||||
namespace vamp_style {
|
||||
|
||||
constexpr auto ui_font_path = std::string_view{"/usr/share/product-vamp/fonts/petaluma/PetalumaScript.otf"};
|
||||
constexpr auto ui_font_path = std::string_view{"/usr/share/product_vamp/fonts/petaluma/PetalumaScript.otf"};
|
||||
|
||||
struct color {
|
||||
std::uint8_t r{};
|
||||
@@ -17,18 +17,8 @@ struct color {
|
||||
std::uint8_t a{255};
|
||||
};
|
||||
|
||||
constexpr auto background = vamp_style::color{255, 255, 255, 255};
|
||||
constexpr auto panel = vamp_style::color{245, 247, 246, 255};
|
||||
constexpr auto ink = vamp_style::color{29, 37, 35, 255};
|
||||
constexpr auto muted = vamp_style::color{92, 104, 100, 255};
|
||||
constexpr auto rule = vamp_style::color{211, 220, 217, 255};
|
||||
constexpr auto accent = vamp_style::color{27, 112, 99, 255};
|
||||
constexpr auto selection = vamp_style::color{230, 241, 237, 255};
|
||||
constexpr auto connecting = vamp_style::color{45, 111, 185, 255};
|
||||
constexpr auto retrying = vamp_style::color{156, 104, 23, 255};
|
||||
constexpr auto connected = vamp_style::color{27, 112, 99, 255};
|
||||
constexpr auto danger = vamp_style::color{190, 63, 58, 255};
|
||||
|
||||
auto rgb565(vamp_style::color value) -> std::uint16_t;
|
||||
|
||||
}
|
||||
|
||||
#include <vamp_style/palette.hpp>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
namespace vamp_zero {
|
||||
|
||||
struct command_line {
|
||||
std::string config_path{"/etc/product-vamp/vamp.json"};
|
||||
std::string config_path{"/etc/product_vamp/vamp.json"};
|
||||
std::bool_t check_config{};
|
||||
std::bool_t health_check{};
|
||||
std::bool_t print_build_info{};
|
||||
|
||||
@@ -19,17 +19,17 @@ namespace vamp_zero {
|
||||
struct runtime_config {
|
||||
std::bool_t headless{false};
|
||||
std::bool_t exit_after_startup{false};
|
||||
std::string assets_path{"/usr/share/product-vamp"};
|
||||
std::string heartbeat_path{"/run/product-vamp/heartbeat.json"};
|
||||
std::string assets_path{"/usr/share/product_vamp"};
|
||||
std::string heartbeat_path{"/run/product_vamp/heartbeat.json"};
|
||||
};
|
||||
|
||||
struct database_config {
|
||||
std::string path{"/usr/share/product-vamp/catalog.db"};
|
||||
std::string path{"/usr/share/product_vamp/catalog.db"};
|
||||
};
|
||||
|
||||
struct control_config {
|
||||
ligo::endpoint_config endpoint{
|
||||
.name = "product-vamp-control",
|
||||
.name = "product_vamp_control",
|
||||
.protocol = ligo::protocol::HTTP,
|
||||
.bind = "0.0.0.0:8080",
|
||||
.timeout = std::chrono::milliseconds{5000},
|
||||
|
||||
Reference in New Issue
Block a user