summaryrefslogtreecommitdiffstats
path: root/swaybar/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar/config.c')
-rw-r--r--swaybar/config.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/swaybar/config.c b/swaybar/config.c
index 1d802022..8fe552f2 100644
--- a/swaybar/config.c
+++ b/swaybar/config.c
@@ -48,6 +48,18 @@ struct config *init_config() {
48 /* height */ 48 /* height */
49 config->height = 0; 49 config->height = 0;
50 50
51#ifdef ENABLE_TRAY
52 config->tray_output = NULL;
53 config->icon_theme = NULL;
54 config->tray_padding = 2;
55 /**
56 * These constants are used by wayland and are defined in
57 * linux/input-event-codes.h
58 */
59 config->activate_button = 0x110; /* BTN_LEFT */
60 config->context_button = 0x111; /* BTN_RIGHT */
61#endif
62
51 /* colors */ 63 /* colors */
52 config->colors.background = 0x000000FF; 64 config->colors.background = 0x000000FF;
53 config->colors.statusline = 0xFFFFFFFF; 65 config->colors.statusline = 0xFFFFFFFF;