aboutsummaryrefslogtreecommitdiff
path: root/dwlb.c
diff options
context:
space:
mode:
authorpodit <podit@podit.dev>2023-02-14 00:16:13 +0000
committerpodit <podit@podit.dev>2023-02-14 00:20:33 +0000
commitb333822f244fde91226eb505e70869779e11dd15 (patch)
treedb150275a30d3eee244a203937eac2639c4c6e2f /dwlb.c
parent1ab43e173a353c81f068aa5b4d985dd44577fa60 (diff)
downloaddwlb-b333822f244fde91226eb505e70869779e11dd15.tar.gz
moved all configurable defaults to separate header
Diffstat (limited to 'dwlb.c')
-rw-r--r--dwlb.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/dwlb.c b/dwlb.c
index 091fcb9..5d21c1f 100644
--- a/dwlb.c
+++ b/dwlb.c
@@ -23,6 +23,8 @@
#include "xdg-output-unstable-v1-protocol.h"
#include "wlr-layer-shell-unstable-v1-protocol.h"
+#include "config.h"
+
#define DIE(fmt, ...) \
do { \
fprintf(stderr, fmt "\n", ##__VA_ARGS__); \
@@ -124,22 +126,11 @@ static Bar *bars = NULL;
static uint32_t height;
static uint32_t textpadding;
-static bool hidden = false;
-static bool bottom = false;
static bool run_display = true;
static bool ready = false;
-static bool hide_vacant = false;
-
-#define TAGSLEN 9
-static char *tags[TAGSLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
static struct fcft_font *font;
-static pixman_color_t activecolor = { .red = 0x0000, .green = 0x5555, .blue = 0x7777, .alpha = 0xffff, };
-static pixman_color_t inactivecolor = { .red = 0x2222, .green = 0x2222, .blue = 0x2222, .alpha = 0xffff, };
-static pixman_color_t textcolor = { .red = 0xeeee, .green = 0xeeee, .blue = 0xeeee, .alpha = 0xffff, };
-static pixman_color_t urgbgcolor = { .red = 0xeeee, .green = 0xeeee, .blue = 0xeeee, .alpha = 0xffff, };
-static pixman_color_t urgtextcolor = { .red = 2222, .green = 0x2222, .blue = 0x2222, .alpha = 0xffff, };
static void