diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-07-28 23:15:12 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-08-01 22:47:54 -0400 |
commit | a6145914c60351d8e541192c7fe35556f8e02507 (patch) | |
tree | 8bb5cacc6e91ed4483c8a4fd0b903aacb76abf15 /include/swaynag/config.h | |
parent | swaynag: split config into own file and fix optind (diff) | |
download | sway-a6145914c60351d8e541192c7fe35556f8e02507.tar.gz sway-a6145914c60351d8e541192c7fe35556f8e02507.tar.zst sway-a6145914c60351d8e541192c7fe35556f8e02507.zip |
swaynag: refactor {sway_,}nagbar to swaynag
Diffstat (limited to 'include/swaynag/config.h')
-rw-r--r-- | include/swaynag/config.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/swaynag/config.h b/include/swaynag/config.h index caa32710..3fd5b3ce 100644 --- a/include/swaynag/config.h +++ b/include/swaynag/config.h | |||
@@ -1,13 +1,13 @@ | |||
1 | #ifndef _SWAY_NAGBAR_CONFIG_H | 1 | #ifndef _SWAYNAG_CONFIG_H |
2 | #define _SWAY_NAGBAR_CONFIG_H | 2 | #define _SWAYNAG_CONFIG_H |
3 | #include "swaynag/nagbar.h" | 3 | #include "swaynag/swaynag.h" |
4 | #include "list.h" | 4 | #include "list.h" |
5 | 5 | ||
6 | int nagbar_parse_options(int argc, char **argv, struct sway_nagbar *nagbar, | 6 | int swaynag_parse_options(int argc, char **argv, struct swaynag *swaynag, |
7 | list_t *types, char **config, bool *debug); | 7 | list_t *types, char **config, bool *debug); |
8 | 8 | ||
9 | char *nagbar_get_config_path(void); | 9 | char *swaynag_get_config_path(void); |
10 | 10 | ||
11 | int nagbar_load_config(char *path, struct sway_nagbar *nagbar, list_t *types); | 11 | int swaynag_load_config(char *path, struct swaynag *swaynag, list_t *types); |
12 | 12 | ||
13 | #endif | 13 | #endif |