mirror of
https://github.com/tiyn/dwmblocks.git
synced 2026-02-22 07:34:48 +01:00
initial commit
This commit is contained in:
19
config.h
Normal file
19
config.h
Normal file
@@ -0,0 +1,19 @@
|
||||
//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 & }
|
||||
Reference in New Issue
Block a user