commit 7302b5557330db1eecb8b0bb06d175aa45445f25
parent bc0dc3951d4c90f6b7634c4a23d09127c4e129b2
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';