diff options
author | 2015-12-16 10:42:56 -0500 | |
---|---|---|
committer | 2015-12-16 10:42:56 -0500 | |
commit | 2231acb790d6c07324b70af78510e064b2cc2720 (patch) | |
tree | 7b0b34cc5eec5aa5415718f4cc00b2fe5c2e7b62 /swaybar | |
parent | Merge pull request #337 from fluxchief/swaybar-check-command-args (diff) | |
parent | Remove trailing whitespace (diff) | |
download | sway-2231acb790d6c07324b70af78510e064b2cc2720.tar.gz sway-2231acb790d6c07324b70af78510e064b2cc2720.tar.zst sway-2231acb790d6c07324b70af78510e064b2cc2720.zip |
Merge pull request #340 from mikkeloscar/seperator-separator
Correct typo seperator -> separator
Diffstat (limited to 'swaybar')
-rw-r--r-- | swaybar/main.c | 8 |
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 { | |||
28 | struct colors { | 28 | struct colors { |
29 | uint32_t background; | 29 | uint32_t background; |
30 | uint32_t statusline; | 30 | uint32_t statusline; |
31 | uint32_t seperator; | 31 | uint32_t separator; |
32 | 32 | ||
33 | struct box_colors focused_workspace; | 33 | struct box_colors focused_workspace; |
34 | struct box_colors active_workspace; | 34 | struct box_colors active_workspace; |
@@ -55,7 +55,7 @@ struct window *window; | |||
55 | struct colors colors = { | 55 | struct colors colors = { |
56 | .background = 0x000000FF, | 56 | .background = 0x000000FF, |
57 | .statusline = 0xFFFFFFFF, | 57 | .statusline = 0xFFFFFFFF, |
58 | .seperator = 0x666666FF, | 58 | .separator = 0x666666FF, |
59 | 59 | ||
60 | .focused_workspace = { | 60 | .focused_workspace = { |
61 | .border = 0x4C7899FF, | 61 | .border = 0x4C7899FF, |
@@ -91,7 +91,7 @@ void sway_terminate(void) { | |||
91 | } | 91 | } |
92 | 92 | ||
93 | void cairo_set_source_u32(cairo_t *cairo, uint32_t color) { | 93 | void cairo_set_source_u32(cairo_t *cairo, uint32_t color) { |
94 | cairo_set_source_rgba(cairo, | 94 | cairo_set_source_rgba(cairo, |
95 | ((color & 0xFF000000) >> 24) / 256.0, | 95 | ((color & 0xFF000000) >> 24) / 256.0, |
96 | ((color & 0xFF0000) >> 16) / 256.0, | 96 | ((color & 0xFF0000) >> 16) / 256.0, |
97 | ((color & 0xFF00) >> 8) / 256.0, | 97 | ((color & 0xFF00) >> 8) / 256.0, |
@@ -220,7 +220,7 @@ void bar_ipc_init(int outputi, const char *bar_id) { | |||
220 | json_object_object_get_ex(_colors, "binding_mode_text", &binding_mode_text); | 220 | json_object_object_get_ex(_colors, "binding_mode_text", &binding_mode_text); |
221 | if (background) colors.background = parse_color(json_object_get_string(background)); | 221 | if (background) colors.background = parse_color(json_object_get_string(background)); |
222 | if (statusline) colors.statusline = parse_color(json_object_get_string(statusline)); | 222 | if (statusline) colors.statusline = parse_color(json_object_get_string(statusline)); |
223 | if (separator) colors.seperator = parse_color(json_object_get_string(separator)); | 223 | if (separator) colors.separator = parse_color(json_object_get_string(separator)); |
224 | if (focused_workspace_border) { | 224 | if (focused_workspace_border) { |
225 | colors.focused_workspace.border = parse_color(json_object_get_string(focused_workspace_border)); | 225 | colors.focused_workspace.border = parse_color(json_object_get_string(focused_workspace_border)); |
226 | } | 226 | } |