diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-07-29 22:42:03 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-08-01 22:47:54 -0400 |
commit | e01acb6097b583fcf2f6d0e0afe1bd878dd9b683 (patch) | |
tree | cf3e715870bb22d9ef7d5bee9457fdcc70e31ee2 /include/swaynag/swaynag.h | |
parent | swaynag: add math to meson.build (diff) | |
download | sway-e01acb6097b583fcf2f6d0e0afe1bd878dd9b683.tar.gz sway-e01acb6097b583fcf2f6d0e0afe1bd878dd9b683.tar.zst sway-e01acb6097b583fcf2f6d0e0afe1bd878dd9b683.zip |
swaynag: allow more config options
Diffstat (limited to 'include/swaynag/swaynag.h')
-rw-r--r-- | include/swaynag/swaynag.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/swaynag/swaynag.h b/include/swaynag/swaynag.h index 6a56f14f..dd6fe0cd 100644 --- a/include/swaynag/swaynag.h +++ b/include/swaynag/swaynag.h | |||
@@ -7,15 +7,6 @@ | |||
7 | #include "swaynag/types.h" | 7 | #include "swaynag/types.h" |
8 | #include "xdg-output-unstable-v1-client-protocol.h" | 8 | #include "xdg-output-unstable-v1-client-protocol.h" |
9 | 9 | ||
10 | #define SWAYNAG_BAR_BORDER_THICKNESS 2 | ||
11 | #define SWAYNAG_MESSAGE_PADDING 8 | ||
12 | #define SWAYNAG_DETAILS_BORDER_THICKNESS 3 | ||
13 | #define SWAYNAG_BUTTON_BORDER_THICKNESS 3 | ||
14 | #define SWAYNAG_BUTTON_GAP 20 | ||
15 | #define SWAYNAG_BUTTON_GAP_CLOSE 15 | ||
16 | #define SWAYNAG_BUTTON_MARGIN_RIGHT 2 | ||
17 | #define SWAYNAG_BUTTON_PADDING 3 | ||
18 | |||
19 | #define SWAYNAG_MAX_HEIGHT 500 | 10 | #define SWAYNAG_MAX_HEIGHT 500 |
20 | 11 | ||
21 | enum swaynag_action_type { | 12 | enum swaynag_action_type { |
@@ -88,9 +79,7 @@ struct swaynag { | |||
88 | struct pool_buffer *current_buffer; | 79 | struct pool_buffer *current_buffer; |
89 | 80 | ||
90 | struct swaynag_type *type; | 81 | struct swaynag_type *type; |
91 | uint32_t anchors; | ||
92 | char *message; | 82 | char *message; |
93 | char *font; | ||
94 | list_t *buttons; | 83 | list_t *buttons; |
95 | struct swaynag_details details; | 84 | struct swaynag_details details; |
96 | }; | 85 | }; |