Add command line parsing

Closes #6
This commit is contained in:
Drew DeVault 2015-08-20 08:37:09 -04:00
parent 927ef0a5ec
commit 579fe70ed9
5 changed files with 86 additions and 6 deletions

View file

@ -46,7 +46,7 @@ struct sway_config {
int gaps_outer;
};
bool load_config(void);
bool load_config(const char *file);
bool read_config(FILE *file, bool is_active);
char *do_var_replacement(struct sway_config *config, char *str);