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