aboutsummaryrefslogtreecommitdiff
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() {
/* height */
config->height = 0;
+#ifdef ENABLE_TRAY
+ config->tray_output = NULL;
+ config->icon_theme = NULL;
+ config->tray_padding = 2;
+ /**
+ * These constants are used by wayland and are defined in
+ * linux/input-event-codes.h
+ */
+ config->activate_button = 0x110; /* BTN_LEFT */
+ config->context_button = 0x111; /* BTN_RIGHT */
+#endif
+
/* colors */
config->colors.background = 0x000000FF;
config->colors.statusline = 0xFFFFFFFF;