my blocks

This commit is contained in:
Michael Peters 2022-05-01 16:21:26 -05:00
parent 1676c07b8f
commit 7f799a9b49

View File

@ -1,16 +1,16 @@
#define CMDLENGTH 60
#define DELIMITER " "
#define CLICKABLE_BLOCKS
const Block blocks[] = {
BLOCK("sb-mail", 1800, 17),
BLOCK("sb-music", 0, 18),
BLOCK("sb-disk", 1800, 19),
BLOCK("sb-memory", 10, 20),
BLOCK("sb-loadavg", 5, 21),
BLOCK("sb-mic", 0, 26),
BLOCK("sb-record", 0, 27),
BLOCK("sb-volume", 0, 22),
BLOCK("sb-battery", 5, 23),
BLOCK("sb-date", 1, 24)
/* script, refresh, signal */
BLOCK("~/scripts/blocks/net-rate.sh", 5, 23),
BLOCK("~/scripts/blocks/ram-free.sh", 5, 22),
BLOCK("~/scripts/blocks/cpu-use.sh", 5, 21),
BLOCK("~/scripts/blocks/cpu-temp.sh", 5, 20),
// TODO: Update volume in a hook rather than querying it every 2 seconds
BLOCK("~/scripts/blocks/volume.sh", 2, 19),
BLOCK("~/scripts/blocks/datetime.sh", 15, 18),
};