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/types.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/types.h')
-rw-r--r-- | include/swaynag/types.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/swaynag/types.h b/include/swaynag/types.h index 32056514..af83bd83 100644 --- a/include/swaynag/types.h +++ b/include/swaynag/types.h | |||
@@ -1,7 +1,7 @@ | |||
1 | #ifndef _SWAY_NAGBAR_TYPES_H | 1 | #ifndef _SWAYNAG_TYPES_H |
2 | #define _SWAY_NAGBAR_TYPES_H | 2 | #define _SWAYNAG_TYPES_H |
3 | 3 | ||
4 | struct sway_nagbar_type { | 4 | struct swaynag_type { |
5 | char *name; | 5 | char *name; |
6 | uint32_t button_background; | 6 | uint32_t button_background; |
7 | uint32_t background; | 7 | uint32_t background; |
@@ -10,16 +10,16 @@ struct sway_nagbar_type { | |||
10 | uint32_t border_bottom; | 10 | uint32_t border_bottom; |
11 | }; | 11 | }; |
12 | 12 | ||
13 | void nagbar_types_add_default(list_t *types); | 13 | void swaynag_types_add_default(list_t *types); |
14 | 14 | ||
15 | struct sway_nagbar_type *nagbar_type_get(list_t *types, char *name); | 15 | struct swaynag_type *swaynag_type_get(list_t *types, char *name); |
16 | 16 | ||
17 | struct sway_nagbar_type *nagbar_type_clone(struct sway_nagbar_type *type); | 17 | struct swaynag_type *swaynag_type_clone(struct swaynag_type *type); |
18 | 18 | ||
19 | void nagbar_type_free(struct sway_nagbar_type *type); | 19 | void swaynag_type_free(struct swaynag_type *type); |
20 | 20 | ||
21 | void nagbar_types_free(list_t *types); | 21 | void swaynag_types_free(list_t *types); |
22 | 22 | ||
23 | int nagbar_parse_type(int argc, char **argv, struct sway_nagbar_type *type); | 23 | int swaynag_parse_type(int argc, char **argv, struct swaynag_type *type); |
24 | 24 | ||
25 | #endif | 25 | #endif |