dwmblocks

This commit is contained in:
mrsu 2023-05-07 23:15:17 +01:00
parent a933ce0d61
commit c827571ba0
1 changed files with 8 additions and 5 deletions

View File

@ -1,11 +1,14 @@
//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},
{" [", "sb-updates", 300, 11},
{" [", "sb-battery-new", 1, 0},
{" [ ", "sb-mem-pct", 5, 0},
{" [󰻠 ", "sb-cpu-pct", 5, 0},
{" [" , "sb-volume", 5, 10},
{" ", "date '+%Y-%m-%d %H:%M:%S'", 1, 0},
};
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
static char delim[] = " | ";
static unsigned int delimLen = 5;
static char delim[] = "] ";
static unsigned int delimLen = 1;