1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//Modify this file to change what commands output to your statusbar, and recompile using the make command.
static const Block blocks[] = {
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
{"", "sb-netuse", 1, 16},
{"", "sb-drive", 0, 30},
{"", "sb-battery", 5, 3},
{"", "sb-clock", 60, 1},
};
//Sets delimiter between status commands. NULL character ('\0') means no delimiter.
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:
// autocmd BufWritePost ~/.local/src/dwmblocks/config.h !cd ~/.local/src/dwmblocks/; sudo make install && { killall -q dwmblocks;setsid dwmblocks & }
|