nixos-dotfiles

nixos-dotfiles

https://git.tonybtw.com/nixos-dotfiles.git git://git.tonybtw.com/nixos-dotfiles.git
478 bytes raw
1
//Modify this file to change what commands output to your statusbar, and recompile using the make command.
2
static const Block blocks[] = {
3
	/*Icon*/	/*Command*/		/*Update Interval*/	/*Update Signal*/
4
	{"Mem:", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g",	30,		0},
5
6
	{"", "date '+%b %d (%a) %I:%M%p'",					5,		0},
7
};
8
9
//sets delimiter between status commands. NULL character ('\0') means no delimiter.
10
static char delim[] = " | ";
11
static unsigned int delimLen = 5;