Added support for multiple char delimiter

This commit is contained in:
mackarelfish
2020-05-30 12:36:18 +07:00
parent d1519aa012
commit 9adc4dc1e7
2 changed files with 11 additions and 7 deletions

View File

@@ -2,7 +2,7 @@
static const Block blocks[] = {
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
{"", "cat /tmp/recordingicon 2>/dev/null", 0, 9},
/* {"", "music", 0, 11}, */
{"", "music", 0, 11},
{"", "pacpackages", 0, 8},
{"", "news", 0, 6},
/* {"", "crypto", 0, 13}, */
@@ -24,7 +24,7 @@ static const Block blocks[] = {
};
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
static char delim = ' ';
static char *delim = " ";
// Have dwmblocks automatically recompile and run when you edit this file in
// vim with the following line in your vimrc/init.vim: