updated so all blocks are scripts

This commit is contained in:
Solomon Laing 2023-04-24 23:14:34 +09:30
parent d3fcef9418
commit 81600b76ea

View File

@ -5,9 +5,9 @@ static const Block blocks[] = {
{" ", "", 1000, 1}, {" ", "", 1000, 1},
{"", "status-bat", 5, 7}, {"", "status-bat", 5, 7},
{"", "status-vol", 0, 3}, {"", "status-vol", 0, 3},
{"", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 4}, {"", "status-mem", 30, 4},
{"", "status-disk", 30, 5}, {"", "status-disk", 30, 5},
{"", "date '+%a %Y-%m-%d %H:%M'", 60, 6}, {"", "status-clock", 60, 6},
{"", "status-net", 1, 15}, {"", "status-net", 1, 15},
{"", "status-packages", 5, 8}, {"", "status-packages", 5, 8},
{" ", "", 1000, 30}, {" ", "", 1000, 30},