diff options
| -rw-r--r-- | config.h | 11 | ||||
| -rw-r--r-- | dbar.c | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/config.h b/config.h new file mode 100644 index 0000000..edfc824 --- /dev/null +++ b/config.h @@ -0,0 +1,11 @@ +#include <stdint.h> + +/* The colors are in ARGB format */ +static uint32_t background = 0xff282828; +static uint32_t foreground = 0xffffffff; +static uint32_t highlight = 0xffb16286; + +static uint32_t height = 30; +static uint32_t padding = 10; +static const char *fontpath = "/usr/share/fonts/TTF/Sauce Code Pro Nerd Font Complete Mono.ttf"; +static const char *statusfile = "/tmp/statusline"; @@ -363,8 +363,8 @@ void dwl_output_title(void *data, struct zdwl_output_v1 *zdwl_output_v1, const char *title) { Bar *bar = data; - strncpy(bar->progname, title, 256); + update_bar(bar); } |