diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-29 17:20:03 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-03-29 22:11:08 -0400 |
commit | bf7a4cd0ebd465a0597e9eec0142fad222b396de (patch) | |
tree | f95c4b8cd8e7d06eaa1b688d3bcbb3249dc21129 /include/sway/commands.h | |
parent | Implement enough IPC for swaybar to work (diff) | |
download | sway-bf7a4cd0ebd465a0597e9eec0142fad222b396de.tar.gz sway-bf7a4cd0ebd465a0597e9eec0142fad222b396de.tar.zst sway-bf7a4cd0ebd465a0597e9eec0142fad222b396de.zip |
Add bar configuration commands
Diffstat (limited to 'include/sway/commands.h')
-rw-r--r-- | include/sway/commands.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h index 9ff18823..dda286a2 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h | |||
@@ -74,6 +74,9 @@ void free_cmd_results(struct cmd_results *results); | |||
74 | */ | 74 | */ |
75 | const char *cmd_results_to_json(struct cmd_results *results); | 75 | const char *cmd_results_to_json(struct cmd_results *results); |
76 | 76 | ||
77 | struct cmd_results *add_color(const char *name, | ||
78 | char *buffer, const char *color); | ||
79 | |||
77 | typedef struct cmd_results *sway_cmd(int argc, char **argv); | 80 | typedef struct cmd_results *sway_cmd(int argc, char **argv); |
78 | 81 | ||
79 | sway_cmd cmd_assign; | 82 | sway_cmd cmd_assign; |