diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-07-28 23:15:12 -0400 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-07-28 23:15:12 -0400 |
| commit | 27a449888a4f30d6d41351da14ccf308ff638698 (patch) | |
| tree | 8bb5cacc6e91ed4483c8a4fd0b903aacb76abf15 /include/swaynag/types.h | |
| parent | f21f0d10c2bcdd1b07e2642347d72fa5bedf21e6 (diff) | |
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 @@ -#ifndef _SWAY_NAGBAR_TYPES_H -#define _SWAY_NAGBAR_TYPES_H +#ifndef _SWAYNAG_TYPES_H +#define _SWAYNAG_TYPES_H -struct sway_nagbar_type { +struct swaynag_type { char *name; uint32_t button_background; uint32_t background; @@ -10,16 +10,16 @@ struct sway_nagbar_type { uint32_t border_bottom; }; -void nagbar_types_add_default(list_t *types); +void swaynag_types_add_default(list_t *types); -struct sway_nagbar_type *nagbar_type_get(list_t *types, char *name); +struct swaynag_type *swaynag_type_get(list_t *types, char *name); -struct sway_nagbar_type *nagbar_type_clone(struct sway_nagbar_type *type); +struct swaynag_type *swaynag_type_clone(struct swaynag_type *type); -void nagbar_type_free(struct sway_nagbar_type *type); +void swaynag_type_free(struct swaynag_type *type); -void nagbar_types_free(list_t *types); +void swaynag_types_free(list_t *types); -int nagbar_parse_type(int argc, char **argv, struct sway_nagbar_type *type); +int swaynag_parse_type(int argc, char **argv, struct swaynag_type *type); #endif |
