Update scripts

This commit is contained in:
Victor Timofei 2021-08-14 21:41:13 +03:00
parent af5389ce30
commit 922ecaa737
Signed by: vtimofei
GPG Key ID: B790DCEBE281403A
1 changed files with 4 additions and 3 deletions

View File

@ -1,9 +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},
{"", "/home/vtimofei/scripts/volinfo", 0, 12},
{"", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0},
{"", "/home/vtimofei/scripts/get-layout", 0, 11},
{"", "date '+%b %d (%a) %I:%M%p' ", 5, 0},
};
//sets delimeter between status commands. NULL character ('\0') means no delimeter.