summaryrefslogtreecommitdiffstats
path: root/include/swaynag/types.h
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-07-28 23:15:12 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-08-01 22:47:54 -0400
commita6145914c60351d8e541192c7fe35556f8e02507 (patch)
tree8bb5cacc6e91ed4483c8a4fd0b903aacb76abf15 /include/swaynag/types.h
parentswaynag: split config into own file and fix optind (diff)
downloadsway-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.h18
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
4struct sway_nagbar_type { 4struct 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
13void nagbar_types_add_default(list_t *types); 13void swaynag_types_add_default(list_t *types);
14 14
15struct sway_nagbar_type *nagbar_type_get(list_t *types, char *name); 15struct swaynag_type *swaynag_type_get(list_t *types, char *name);
16 16
17struct sway_nagbar_type *nagbar_type_clone(struct sway_nagbar_type *type); 17struct swaynag_type *swaynag_type_clone(struct swaynag_type *type);
18 18
19void nagbar_type_free(struct sway_nagbar_type *type); 19void swaynag_type_free(struct swaynag_type *type);
20 20
21void nagbar_types_free(list_t *types); 21void swaynag_types_free(list_t *types);
22 22
23int nagbar_parse_type(int argc, char **argv, struct sway_nagbar_type *type); 23int swaynag_parse_type(int argc, char **argv, struct swaynag_type *type);
24 24
25#endif 25#endif