aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-12-16 10:42:56 -0500
committerDrew DeVault <sir@cmpwn.com>2015-12-16 10:42:56 -0500
commit2231acb790d6c07324b70af78510e064b2cc2720 (patch)
tree7b0b34cc5eec5aa5415718f4cc00b2fe5c2e7b62
parent9c0be49024c112c2a3e030ae5ecc78a2dbbff570 (diff)
parent3bd388a307375f314df755536a50570e69620f7a (diff)
Merge pull request #340 from mikkeloscar/seperator-separator
Correct typo seperator -> separator
-rw-r--r--swaybar/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/swaybar/main.c b/swaybar/main.c
index 8f544c02..f2f0f7f7 100644
--- a/swaybar/main.c
+++ b/swaybar/main.c
@@ -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));
}