23 lines
953 B
C
23 lines
953 B
C
|
//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-music", 0, 11},
|
||
|
{"", "sb-temp", 60, 14},
|
||
|
{"", "sb-weather", 18000, 5},
|
||
|
{"", "sb-mail", 180, 12},
|
||
|
{"", "sb-cpu", 10, 13},
|
||
|
{"", "sb-mem", 10, 20},
|
||
|
{"", "sb-network", 5, 4},
|
||
|
{"", "sb-battery", 5, 3},
|
||
|
{"", "sb-volume", 0, 10},
|
||
|
{"", "sb-clock", 30, 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 & }
|