1
0
mirror of https://github.com/tiyn/dwmblocks.git synced 2025-07-02 02:57:47 +02:00
dwmblocks/config.h
2020-06-02 14:19:40 +02:00

20 lines
769 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*/
{"", "memory", 10, 6},
{"", "cpu", 10, 5},
{"", "disk /", 1800, 7},
{"", "volume", 0, 4},
{"", "battery BAT0", 5, 2},
{"", "internet", 5, 3},
{"", "clock", 60, 1},
};
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
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 & }