diff options
| author | stkhan <personal@slickd.xyz> | 2023-03-31 19:42:29 -0500 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2023-03-31 19:42:29 -0500 |
| commit | 0e71af11a27631e45c0160842e4498507420eff0 (patch) | |
| tree | 4eed4eba5b0273f26bc55243cce36a2670ac0fef /wm/someblocks/blocks.def.h | |
| parent | 07afc07ffff324f3a355f2437bd643b616fe0af4 (diff) | |
bar and blocks
Diffstat (limited to 'wm/someblocks/blocks.def.h')
| -rw-r--r-- | wm/someblocks/blocks.def.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/wm/someblocks/blocks.def.h b/wm/someblocks/blocks.def.h new file mode 100644 index 0000000..9c22d68 --- /dev/null +++ b/wm/someblocks/blocks.def.h @@ -0,0 +1,11 @@ +//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[] = " | "; +static unsigned int delimLen = 5; |