nixos-dotfiles

nixos-dotfiles

https://git.tonybtw.com/nixos-dotfiles.git git://git.tonybtw.com/nixos-dotfiles.git
581 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
    {" ", "acpi -b | awk -F', ' '{print $2 \" \" $1}' | sed 's/Battery 0: //' ", 30, 0 },
5
6
	{"󰍛 ", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g",	30,		0},
7
8
	{"󰸘 ", "date '+%b %d (%a) %I:%M%p ' ",					5,		0},
9
};
10
11
// sets delimiter between status commands. NULL character ('\0') means no delimiter.
12
static char delim[] = " | ";
13
static unsigned int delimLen = 5;