aboutsummaryrefslogtreecommitdiff
path: root/config.h
blob: c5d4cddc6ed2a1250574758338c1774c3b6d3fce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//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-kbselect", 0, 30}, */
	{"", "$HOME/.local/scripts/status/memory",           5,  4},
	{"", "$HOME/.local/scripts/status/temperature" ,     1,  2},
	{"", "$HOME/.local/scripts/status/volume",           0,  9},
	{"", "$HOME/.local/scripts/status/connection",       30, 1},
	{"", "$HOME/.local/scripts/status/brightness",       30, 3},
	{"", "$HOME/.local/scripts/status/battery",          30, 5},
	{"", "$HOME/.local/scripts/status/datetime",         30, 6},
};

//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 & }