diff --git a/README.md b/README.md index 678fdd0..3fc2d6b 100644 --- a/README.md +++ b/README.md @@ -92,8 +92,8 @@ Apart from that you can also modify the following parameters to suit your needs. // The status bar's delimiter which appears in between each block. #define DELIMITER " " -// Adds a trailing delimiter to the statusbar, useful for powerline. -#define TRAILING_DELIMITER +// Adds a leading delimiter to the statusbar, useful for powerline. +#define LEADING_DELIMITER // Enable clickability for blocks. Needs `dwm` to be patched appropriately. // See the "Clickable blocks" section below. diff --git a/config.h b/config.h index 5facba9..40ce7e7 100644 --- a/config.h +++ b/config.h @@ -1,6 +1,6 @@ #define CMDLENGTH 50 #define DELIMITER "<" -#define TRAILING_DELIMITER +#define LEADING_DELIMITER #define CLICKABLE_BLOCKS const Block blocks[] = { diff --git a/main.c b/main.c index 3b4f038..3a17406 100644 --- a/main.c +++ b/main.c @@ -79,7 +79,7 @@ int getStatus(char* new, char* old) { new[0] = '\0'; for (int i = 0; i < LEN(blocks); i++) { -#ifdef TRAILING_DELIMITER +#ifdef LEADING_DELIMITER if (strlen(outputs[i])) #else if (strlen(new) && strlen(outputs[i]))