Reorganize code and remove hack for empty block outputs
This commit is contained in:
21
config.c
Normal file
21
config.c
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "config.h"
|
||||
|
||||
#include "block.h"
|
||||
#include "util.h"
|
||||
|
||||
// clang-format off
|
||||
Block blocks[] = {
|
||||
{"sb-mail", 600 , 1 },
|
||||
{"sb-music", 0, 2 },
|
||||
{"sb-disk", 1800, 3 },
|
||||
{"sb-memory", 10, 4 },
|
||||
{"sb-loadavg", 5, 5 },
|
||||
{"sb-mic", 0, 6 },
|
||||
{"sb-record", 0, 7 },
|
||||
{"sb-volume", 0, 8 },
|
||||
{"sb-battery", 5, 9 },
|
||||
{"sb-date", 1, 10},
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
const unsigned short blockCount = LEN(blocks);
|
||||
Reference in New Issue
Block a user