config modes

This commit is contained in:
taiyu 2015-09-07 14:29:40 -07:00
parent afe9cf0be0
commit 71af5b7dde
8 changed files with 261 additions and 232 deletions

View file

@ -5,7 +5,7 @@
struct cmd_handler {
char *command;
bool (*handle)(struct sway_config *config, int argc, char **argv);
bool (*handle)(int argc, char **argv);
enum {
CMD_COMPOSITOR_READY,
CMD_KEYBIND,
@ -14,7 +14,7 @@ struct cmd_handler {
};
struct cmd_handler *find_handler(char *line);
bool handle_command(struct sway_config *config, char *command);
bool handle_command(char *command);
void remove_view_from_scratchpad();