forked from torrinfail/dwmblocks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added blocks.def.h to act as default blocks file so that changes made in
the future will not affect csutom blocks.h files.
- Loading branch information
1 parent
8893f2d
commit 7e0bc3f
Showing
4 changed files
with
20 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# Custom blocks file | ||
blocks.h | ||
|
||
# Prerequisites | ||
*.d | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
//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*/ | ||
{"Mem:", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0}, | ||
|
||
{"", "date '+%b %d (%a) %I:%M%p'", 5, 0}, | ||
}; | ||
|
||
//sets delimeter between status commands. NULL character ('\0') means no delimeter. | ||
static char delim = '|'; |