commit 9391c77c509fb3ed37b00c3d59e52c046b473c37
parent f990856a6a8190cd7f34779a279dbc72cc895297
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date:   Sun, 28 Mar 2021 22:25:31 +0200

Add leading space to status bar

Diffstat:
Mdwmblocks.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dwmblocks.c b/dwmblocks.c @@ -109,7 +109,7 @@ void setupsignals() int getstatus(char *str, char *last) { strcpy(last, str); - str[0] = '\0'; + strcpy(str, " "); /* add leading space to status bar */ for (unsigned int i = 0; i < LENGTH(blocks); i++) strcat(str, statusbar[i]); str[strlen(str)-strlen(delim)] = '\0';