Merge pull request #340 from mikkeloscar/seperator-separator

Correct typo seperator -> separator
master
Drew DeVault 9 years ago
commit 2231acb790

@ -28,7 +28,7 @@ struct box_colors {
struct colors {
uint32_t background;
uint32_t statusline;
uint32_t seperator;
uint32_t separator;
struct box_colors focused_workspace;
struct box_colors active_workspace;
@ -55,7 +55,7 @@ struct window *window;
struct colors colors = {
.background = 0x000000FF,
.statusline = 0xFFFFFFFF,
.seperator = 0x666666FF,
.separator = 0x666666FF,
.focused_workspace = {
.border = 0x4C7899FF,
@ -91,7 +91,7 @@ void sway_terminate(void) {
}
void cairo_set_source_u32(cairo_t *cairo, uint32_t color) {
cairo_set_source_rgba(cairo,
cairo_set_source_rgba(cairo,
((color & 0xFF000000) >> 24) / 256.0,
((color & 0xFF0000) >> 16) / 256.0,
((color & 0xFF00) >> 8) / 256.0,
@ -220,7 +220,7 @@ void bar_ipc_init(int outputi, const char *bar_id) {
json_object_object_get_ex(_colors, "binding_mode_text", &binding_mode_text);
if (background) colors.background = parse_color(json_object_get_string(background));
if (statusline) colors.statusline = parse_color(json_object_get_string(statusline));
if (separator) colors.seperator = parse_color(json_object_get_string(separator));
if (separator) colors.separator = parse_color(json_object_get_string(separator));
if (focused_workspace_border) {
colors.focused_workspace.border = parse_color(json_object_get_string(focused_workspace_border));
}

Loading…
Cancel
Save