2018-07-29 13:15:12 +10:00
|
|
|
#ifndef _SWAYNAG_CONFIG_H
|
|
|
|
#define _SWAYNAG_CONFIG_H
|
|
|
|
#include "swaynag/swaynag.h"
|
2018-07-29 12:56:12 +10:00
|
|
|
#include "list.h"
|
|
|
|
|
2018-07-29 13:15:12 +10:00
|
|
|
int swaynag_parse_options(int argc, char **argv, struct swaynag *swaynag,
|
2018-07-30 12:42:03 +10:00
|
|
|
list_t *types, struct swaynag_type *type, char **config, bool *debug);
|
2018-07-29 12:56:12 +10:00
|
|
|
|
2018-07-29 13:15:12 +10:00
|
|
|
char *swaynag_get_config_path(void);
|
2018-07-29 12:56:12 +10:00
|
|
|
|
2018-07-29 13:15:12 +10:00
|
|
|
int swaynag_load_config(char *path, struct swaynag *swaynag, list_t *types);
|
2018-07-29 12:56:12 +10:00
|
|
|
|
|
|
|
#endif
|