mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix(Bar): typo
This commit is contained in:
parent
311c34ecbc
commit
9504b7ac03
@ -44,6 +44,8 @@ class Bar {
|
||||
"Requested width: {} exceeds the minimum width: {} required by the modules";
|
||||
static inline const std::string BAR_SIZE_MSG =
|
||||
"Bar configured (width: {}, height: {}) for output: {}";
|
||||
static inline const std::string SIZE_DEFINED =
|
||||
"{} size is defined in the config file so it will stay like that";
|
||||
static void layerSurfaceHandleConfigure(void *, struct zwlr_layer_surface_v1 *, uint32_t,
|
||||
uint32_t, uint32_t);
|
||||
static void layerSurfaceHandleClosed(void *, struct zwlr_layer_surface_v1 *);
|
||||
|
@ -51,8 +51,7 @@ waybar::Bar::Bar(struct waybar_output* w_output)
|
||||
std::cout << fmt::format(MIN_HEIGHT_MSG, height_, ev->height) << std::endl;
|
||||
}
|
||||
if (output->config["height"].isUInt()) {
|
||||
std::cout << "Height size is defined in the config file so it will stay like that"
|
||||
<< std::endl;
|
||||
std::cout << fmt::format(SIZE_DEFINED, "Height") << std::endl;
|
||||
} else {
|
||||
tmp_height = ev->height;
|
||||
}
|
||||
@ -63,8 +62,7 @@ waybar::Bar::Bar(struct waybar_output* w_output)
|
||||
std::cout << fmt::format(MIN_WIDTH_MSG, width_, ev->width) << std::endl;
|
||||
}
|
||||
if (output->config["width"].isUInt()) {
|
||||
std::cout << "Height size is defined in the config file so it will stay like that"
|
||||
<< std::endl;
|
||||
std::cout << fmt::format(SIZE_DEFINED, "Width") << std::endl;
|
||||
} else {
|
||||
tmp_width = ev->width;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user